baba
Free, no AIfree, nothing leaves your browser

Hebrew RTL Text Fixer

Paste Hebrew that came out wrong: punctuation on the wrong end, letters reversed from a broken PDF, or mixed Hebrew and English fighting over direction. Pick the fixes you need and copy the result.

Fixed
שלום, איך קוראים לך.
Isolates (U+2067…U+2069) fix direction in plain text; <bdi> tags do the same in HTML source.

What Bidi Does

Unicode text is stored in logical order (the order you'd type it), and the bidi algorithm decides how to lay it out visually. For a right-to-left script mixed with numbers, punctuation and Latin text, that means separating the string into short runs of one direction each and deciding which side each run's neighbors sit on. Most of the time it gets this right; a tool that authored, exported or copied the text with its own idea of direction can leave the runs in an order the algorithm renders wrong.

Numbers are a special case: a run of digits is always read left to right even mid-sentence, so "יש לי 3 ספרים" keeps "3" reading normally while the Hebrew around it reads right to left. When the surrounding text's direction is misdetected, the whole line can look like the numbers moved, even though nothing about the digits changed.

Frequently Asked Questions

Why does a period end up before the Hebrew sentence instead of after it?

A text box, spreadsheet cell or PDF that does not understand bidi text can place the cursor at the visual start of the line rather than the logical start, so punctuation you typed "at the end" lands on the visual left, which reads as the beginning in Hebrew. Moving it back is a text fix, not a font fix.

What do Unicode isolates actually do?

U+2067 (RLI) and U+2069 (PDI) tell the bidi algorithm "everything between these is one right-to-left unit," so it stops trying to guess the direction from the surrounding characters. They are invisible when rendered.

Why do numbers "flip" in Hebrew sentences?

Digits are always written and read left to right, even inside a right-to-left sentence, so a run of digits sits as its own island. When the surrounding Hebrew is misidentified as the wrong direction, the digit island can appear to have moved to the wrong side, even though the digits themselves are not reversed.

More Free Hebrew Tools

All tools