Braille Translator
Convert text to Braille Unicode characters.Runs in this tab.⌘ ↵ runs it
How to use Braille Translator
- Choose Text to Braille or Braille to Text.
- Paste letters or Braille cells. A digit run starts with the number indicator ⠼ (U+283C). The letter a and the digit 1 share the cell ⠁.
- Copy the other panel. Spaces become the blank cell U+2800. Letters are lowercased, so there is no capital sign.
Grade 1 English Braille
Worked cells
Text to Braille lowercases the input, then writes one cell per character. hello is ⠓⠑⠇⠇⠕.
| Input | Cells | Notes |
|---|---|---|
hello |
⠓⠑⠇⠇⠕ | h e l l o |
123 |
⠼⠁⠃⠉ | ⠼ (U+283C) starts the number, then the cells that also mean a, b, and c |
Hello! |
⠓⠑⠇⠇⠕⠖ | Lowercased first, then the exclamation cell. There is no capital sign |
a |
⠁ | The same cell as the digit 1, without the number indicator |
1 |
⠼⠁ | The indicator is what makes that cell a digit |
A space becomes the blank Braille cell U+2800. Grade 2 contractions, 8-dot braille, and other languages (including Arabic braille) are outside this translator. An unmapped character is copied through as itself.
How Unicode Braille turns dots into bits
The Unicode Braille Patterns block (U+2800 to U+28FF) holds 256 characters, one for every combination of 8 dots. The code point is computed, not assigned: dot n sets bit n − 1.
| Dot | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Bit value | 0x01 | 0x02 | 0x04 | 0x08 | 0x10 | 0x20 | 0x40 | 0x80 |
The letter h is dots 1, 2 and 5, so its code point is 0x2800 + 0x01 + 0x02 + 0x10 = U+2813, ⠓:
dot 1 ● ○ dot 4
dot 2 ● ● dot 5 h = dots 1-2-5 = U+2813 = ⠓
dot 3 ○ ○ dot 6
Six-dot literary braille only needs U+2800 to U+283F, and those 64 cells are all this translator outputs; dots 7 and 8 (computer braille) fill the rest.
The alphabet follows a pattern
Letters are built in rows of ten:
| Characters | Rule | Examples |
|---|---|---|
| a–j | Base shapes using only dots 1, 2, 4, 5 | a ⠁ (1), j ⠚ (2-4-5) |
| k–t | a–j plus dot 3 | k ⠅ (1-3), t ⠞ (2-3-4-5) |
| u, v, x, y, z | a–e plus dots 3 and 6 | u ⠥ (1-3-6), z ⠵ (1-3-5-6) |
| w | j plus dot 6 (w wasn’t in Louis Braille’s original French alphabet) | w ⠺ (2-4-5-6) |
| 1–9, 0 | Number sign ⠼ (3-4-5-6), then a–j | 7 → ⠼⠛ |
Punctuation this tool maps: . ⠲, , ⠂, ? ⠦, ! ⠖, ; ⠆, : ⠒, - ⠤, ' ⠄, / ⠌, and both ( and ) to ⠶.
What this text to braille translator does
It produces Grade 1 (uncontracted) braille: one cell per character, no contractions. Specifically:
- Capitals aren’t marked. Input is lowercased first, so “Hello” and “hello” give the same cells. Formal braille puts the capital sign ⠠ (dot 6) before a capital (⠠⠓ for H) and ⠠⠠ before an all-caps word.
- Spaces become the blank cell U+2800, not an ASCII space.
- Each run of digits gets one number sign.
room 101becomes⠗⠕⠕⠍⠀⠼⠁⠚⠁. Any non-digit ends the run, so3.14becomes⠼⠉⠲⠼⠁⠙, whereas Unified English Braille (UEB) keeps numeric mode through a decimal point:⠼⠉⠲⠁⠙. - A letter a–j right after a digit is ambiguous. Braille inserts the grade 1 indicator ⠰ there (⠼⠃⠰⠃ for “2b”). This tool doesn’t, so “2b or not 2b” becomes
⠼⠃⠃⠀⠕⠗⠀⠝⠕⠞⠀⠼⠃⠃and decodes back as “22 or not 22”. - Unsupported characters pass through unchanged.
a@b.comgives⠁@⠃⠲⠉⠕⠍; accented letters, quotation marks and emoji are copied as-is. - Parentheses use the older single-cell sign ⠶ for both sides. UEB uses ⠐⠣ and ⠐⠜.
Using it as a braille decoder
In Braille to Text mode, paste Unicode braille characters. The decoder reverses the tables above, with these rules:
- Number mode lasts until a blank cell (U+2800). Punctuation doesn’t end it, so
⠼⠁⠲⠃reads as “1.2”. An ordinary ASCII space doesn’t either:⠼⠁ ⠁decodes to “1 1”, while⠼⠁⠀⠁gives “1 a”. - Every ⠶ decodes to
), since both parentheses share it. - Contracted (Grade 2) braille won’t decode correctly. Contraction cells pass through untouched, so “the cat” written as
⠮⠀⠉⠁⠞comes back as “⠮ cat”. Wordsigns come back as letters: in Grade 2, ⠃ standing alone means “but”, but here it is “b”. The capital sign ⠠ also passes through.
For Grade 2 in either direction, use a full translator such as liblouis, the open-source engine used by the NVDA screen reader.
Working with braille characters in code
Converting between dot numbers and characters is a one-liner:
String.fromCodePoint(0x2800 + [1, 2, 5].reduce((m, d) => m | 1 << (d - 1), 0)) // '⠓'
[1, 2, 3, 4, 5, 6, 7, 8].filter(d => ('⠓'.codePointAt(0) - 0x2800) >> (d - 1) & 1) // [1, 2, 5]
chr(0x2800 + sum(1 << (d - 1) for d in (1, 2, 5))) # '⠓'
import unicodedata; unicodedata.name('⠓') # 'BRAILLE PATTERN DOTS-125'
Two gotchas when you process or store the output:
- U+2800 is not whitespace. It’s a symbol character, so
/\s/doesn’t match it andtrim()doesn’t strip it. Split braille text into words withsplit('\u2800'). - Each cell is 3 bytes in UTF-8 (⠓ is
E2 A0 93), so 100 cells is 100 characters in JavaScript but 300 bytes in a UTF-8 database column. The UTF-8 byte viewer shows each cell’s code point and bytes, and the Unicode escape tool turns braille into\u2813-style escapes for source code.
For another character-by-character code, see the Morse code translator.
Next step
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeQuestions
How do I convert text to Braille?
Is this a Grade 2 or 8-dot braille translator?
How do I use it as a braille decoder?
Comments
More in Encoding & Decoding
- Base64 Encoder / Decoder
- URL Encoder / Decoder
- HTML Entity Encoder / Decoder
- JWT Decoder
- Base32 Encoder / Decoder
- ROT13 Encoder / Decoder
- Morse Code Translator
- Binary to Text Converter
Comments