Wrap each source line and distribute spaces between its words to produce lines of a chosen width. Follow the exact input and settings below to reproduce this example. Open Justify Text.
Prepare the source text
Open Justify Text and choose Write or paste text, or upload a supported UTF-8 text file. The upload opens the editor; it does not run the tool. This example uses the exact source shown in the comparison.
Maximum input and result: 1 MB of UTF-8 text, with a 1,048,576-character input ceiling. Expanding transformations must also fit the result limit.
Use the exact example input
Plain text can align neatly in columns.
This text operation runs in your browser; its source and result are not sent for conversion. A draft may be kept in this browser tab when session storage is available. Clear removes the current draft; download important work before closing the tab.
Choose the settings
For the recorded example, use these settings: Characters per line: 20; Break long words: Off.
The initial width is 40 characters. The tool wraps words within each original line, then spreads extra spaces across the gaps of lines containing more than one word. Single-word lines are not stretched. Break long words switches wrapping to fixed character-width pieces and can split inside any word.
The example in this guide
Verified in the i2TEXT browser workflow on November 11, 2026.
- Input
- example.txt
- Output
- justify-text.txt
- Saved result
- 41 bytes
Apply and inspect the result
Select Justify Text when the input and settings are ready. In the saved example, the result begins: "Plain text can align".
This aligns character counts, not pixel widths. Use a monospace font to view the alignment; even the final multiword line is spaced out.
Result overview shows Target line width, the Longest line in the result and the input-to-result line totals. An unbroken word can exceed the target when Break long words is off.
Result overview distinguishes changed, unchanged and empty results. An unchanged result means the selected operation did not alter the text; an empty result can be the expected outcome of removal or extraction. Line totals include a trailing empty line; an empty result has zero lines. Open Show spaces and tabs to reveal spaces as ·, tabs as ⇥ and line endings as ↵. These marks are only a preview; copied and downloaded text keeps its actual whitespace. The whitespace preview shows at most 12,000 Unicode code points. This preview limit does not shorten the editable result or its TXT download.
Save the version you reviewed
Review the current result, then use the download icon to save a TXT file. The actual download in this example is named justify-text.txt. Copy and download use the current result, so make any final wording changes before saving. Continue to can carry the result into a compatible next tool, where you review it before running another operation.
Editing the result hides the calculated details until you run the tool again. Copy and TXT download use the edited text; return to the source and reapply the tool to refresh the report.
example.txtjustify-text.txt
Common questions
Which settings produced this example?
Characters per line: 20; Break long words: Off.
What should I check before using the result?
This aligns character counts, not pixel widths. Use a monospace font to view the alignment; even the final multiword line is spaced out.
Where is this text processed?
This text operation runs in your browser; its source and result are not sent for conversion. A draft may be kept in this browser tab when session storage is available. Clear removes the current draft; download important work before closing the tab.
Try Justify Text with your own text.
Use your own source and review the result before sharing.