Justify text
Re-flow plain text into block-justified lines of an exact character width.
Related tools
Justify text
Word processors justify text by nudging letter spacing in tiny fractions — plain text cannot do that, but monospaced justification can: distribute whole extra spaces into the gaps between words until every line hits the exact same width. That is what this tool does. Paste your text, set the line width in characters, and each paragraph re-flows into a clean block where every line but the last is exactly as wide as the next.
The algorithm is the classic one from typesetting: greedy wrap to the target width, then pad each line's word gaps evenly, giving leftmost gaps the remainder. The last line of every paragraph stays ragged-left with single spaces, exactly as a book would set it. Blank lines pass through untouched, so multi-paragraph text keeps its structure, and existing line breaks inside a paragraph are treated as soft — the text re-flows as one stream, which is what you want when pasting from an e-mail or a PDF.
Width is measured in characters, which makes the result align perfectly wherever a fixed-width font rules: code comments, READMEs, man pages, plain-text e-mails, ASCII documents, terminal output. Accented letters and emoji count as one column each. A word longer than the width gets its own overlong line rather than being broken.
Everything runs locally in your browser — the text never leaves your device. Combined with the copy button, it turns "make this paragraph look neat in a fixed-width file" into a five-second job.