Soroban abacus converter
Convert numbers to Japanese soroban abacus notation and back.
Soroban abacus converter
A soroban is the Japanese abacus: one column of beads per decimal digit, with a single "heaven" bead worth five above the bar and four "earth" beads worth one each below it. This tool converts a plain number into that bead pattern, and reads a bead pattern back into the number it represents — useful for soroban lessons, teaching material, or checking a value worked out by hand.
Direction controls which way the conversion runs; Auto-detect decides per value — a string of digits becomes soroban notation, and a valid bead pattern becomes a number. Notation format picks how a column is written: Beads draws every bead as a filled or empty dot (●○○○○ for one, ●●●●● for nine), while Compact writes a caret for an active heaven bead plus the earth-bead count (^4 for nine), quicker to type by hand. Column separator sets what goes between one digit's column and the next — space, middle dot, or pipe — and reading uses that same character to split the columns apart. Maximum digits caps the valid range, from 1 up to 21 decimal digits; anything longer is rejected rather than silently truncated.
Turn on batch mode to convert a whole list at once, one value per line, keeping a column of numbers and a column of soroban notation lined up. With batch mode off, the whole input is read as a single value, handy when a bead pattern itself contains spaces. Leading zeros are stripped before conversion, and CRLF and LF line endings work the same.
Everything runs locally in your browser — no number you type or paste is ever uploaded anywhere. Copy the result, download it as a .txt file, or send the output back into the input to convert it the other way.