Line Formatting Tools

Justify Text Online

Stretch spacing so both edges line up, paragraph by paragraph.

PrivateYour text is processed on your device and never uploaded.
Input
Result
0 chars · 0 lines

Full justification spreads words so both edges line up, which is impossible to do evenly by hand in plain text.

Justify Text wraps your text to a width and pads the gaps so each full line reaches both margins.

How to use Justify Text Online

  1. Paste the text you want to justify into the input box.
  2. Set the width, and Justify Text wraps the words and spreads spaces so lines fill it edge to edge.
  3. Copy the justified text, or download it as a .txt file.

Use cases

Good to know

Justify Text first wraps the text to your chosen width by word boundaries, then distributes extra spaces between words so every line except the last in a paragraph reaches the full width. The final line of each paragraph is left ragged.

Frequently asked questions

Why is the last line not justified?

The closing line of a paragraph is left as it is, which is the standard convention so it does not look stretched.

How are the extra spaces shared out?

The spare width is spread as evenly as possible between words, with any remainder added to the earliest gaps.

What width should I choose?

Pick the column width of your target, such as 72 or 80, so the justified lines match that layout.

Related Line Formatting Tools