Skip to content

Justify Text

Stretch lines to a flush right margin by spacing the words.

Quick Tool Overview

Justify Text stretches each line to a flush right margin by distributing space between the words, the way a typesetter does — and leaves the last line of every paragraph flush left, which is what separates real justification from the naive version.

What it does
Justifies plain text to a flush right margin
You give it
A paragraph and a column width
You get back
Text with even edges on both sides
Best for
Print-like plain text and column layouts
Text Tools Free, unlimited use No sign-up Runs in your browser

About the Justify Text

Justified text has a flush edge on both sides, which is how newspaper columns and most printed books are set. In plain text there is no typesetting engine to do it, so the extra space has to be inserted as actual space characters between the words.

This does that properly. Each line is wrapped to the width you set, then the space needed to reach the right margin is distributed between the words on it — spread evenly, with the remainder going to the leftmost gaps, which is the convention. The last line of every paragraph is left alone rather than being stretched across the full width, because a stretched last line is the single most obvious sign of naive justification.

Key features of the Justify Text

Last lines left alone

A three-word final line is not stretched across seventy characters, which is the giveaway of naive justification.

Even space distribution

The extra space is spread across the gaps with the remainder to the left, the standard typesetting convention.

Wraps first

Text is wrapped to your width before justification, so you can paste an unwrapped paragraph straight in.

River warning

The page explains why narrow columns produce visible white channels, and what width avoids them.

Honest about the trade-off

It says plainly that left alignment reads more easily on screen, so the choice is informed.

How to use the Justify Text

  1. 1

    Paste your text

    A paragraph or a document you want set in justified columns.

  2. 2

    Set the column width

    The width each line should be stretched to — sixty-five to seventy-five reads best.

  3. 3

    Check the last lines

    Paragraph-final lines stay left aligned, which is what a typesetter does.

  4. 4

    Copy the justified text

    The spacing is real characters, so it holds in any monospaced context.

Frequently asked questions

Because stretching a three-word last line across a seventy-character column produces enormous gaps. Every typesetting system leaves the final line of a paragraph flush left, and so does this.

Reviews of the Justify Text

What people who use the Justify Text think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the Justify Text. It takes half a minute and no account.

Write the first review

More text tools