FiFont
← Typography reference

Typography reference

Ragged-right text alignment

Left-aligned text has a ragged right edge in left-to-right scripts. Justification instead expands or adjusts spacing to align lines with both sides.

Try the visual comparison

The two blocks use the same 23ch maximum width. Justification stretches interword space to align both edges, except where the line-breaking algorithm leaves the final line ragged.

Example A

A paragraph has a rhythm even when its last line ends earlier than expected.
max-width:23ch;
text-align:left;
font-size:18px;

Example B

A paragraph has a rhythm even when its last line ends earlier than expected.
max-width:23ch;
text-align:justify;
font-size:18px;

These examples use browser/system fonts unless explicitly noted. Actual rendering and font feature support vary with your environment.

What to check in your project

Inspect a long narrow paragraph for conspicuous gaps or rivers. Test language-appropriate hyphenation and direction rather than forcing every line into equal visible width.

Explore the related tool or guide →

Continue exploring