Auto Line Break Tool — Wrap Text at a Set Length (Free)
Free online tool that automatically inserts line breaks in long text at a length you choose. Useful for wrapping email body text or fitting text into narrow spaces. No sign-up, runs entirely in your browser.
Original text
Formatted text
What Does Breaking Lines at a Set Character Count Do?
This tool takes the text you paste in and re-inserts line breaks at a fixed number of characters. Even a long passage with no line breaks at all can be reshaped so it wraps at a set width. It is useful for adjusting how an email body wraps, or as preparation before pouring text into a narrow field.
The split is made mechanically on character count alone. Japanese full-width characters are counted as one character just like alphanumerics, so for Japanese text the visual width comes out roughly even too. Two things to watch, though: English words can be cut mid-word, and HTML tags or Markdown syntax may be broken. It is safest to format plain text only.
Steps to Break Lines at a Character Count
- Paste the text you want to format Enter the text in the «before» box. Existing line breaks are kept as they are, so remove them first if you need to.
- Decide the wrap width For email bodies, 72–80 characters is the usual guide; for print or a narrow field, 30–40. Enter the number that suits your purpose.
- Format and check the result Press «Format» and the result appears in the «after» box. Look over it to confirm no word has been cut awkwardly.
Tips for getting more out of it
- Email clients traditionally wrap lines at around 72–80 characters. Formatting text before sending makes it easier to read.
- HTML tags and Markdown-formatted text are not supported. Please use plain text only.
- When text contains both English and another language, breaks may occur in the middle of an English word.
- For printed documents or narrow text areas, wrapping at 30–40 characters per line tends to look clean.
When Fixed-Width Line Breaking Comes in Handy
Making an email body easier to read
Send a long passage as-is and it wraps unevenly depending on the recipient's client. Format it to 72–80 characters beforehand and it appears the way you intended everywhere.
Pouring text into a narrow field
Format before pasting into a form or a system input box of limited width, and you avoid overflow and messy automatic wrapping.
Preparing a manuscript for print
Anything read on paper — handouts, scripts — is easier on the eye at around 30–40 characters per line, because the eye travels less.
Aligning text shown in a monospace font
Useful when you want a consistent line length in places rendered in a monospace font, such as source-code comments or explanatory text in a config file.
Line Break and Line Length Terms
- Wrapping
- Carrying a long line over to the next line at a given width. It can be done automatically by whatever displays the text, or — as here — by actually inserting line break characters.
- Character Count
- The unit this tool counts in. It treats full-width and half-width alike as one character, so the figure does not match a byte count.
- Plain Text
- Text made of characters alone, with no formatting or styling. Formatting something that contains tags or markup can break its structure.
- Monospace Font
- A font in which every character has the same width. The effect of an aligned line length shows up directly on screen.
- Word Boundary
- The position where a word can be split in English text. This tool divides purely on character count and does not take it into account.
FAQ
Side Note — The 80-Character Curse: A Tradition from Punch Cards
Many code editors and style guides recommend an 80-character line limit, but this number traces back to the punch card IBM designed in 1928, which had 80 columns per row. The column count of this physical storage medium became the standard terminal display width, and survives today as the default terminal size (80 columns × 24 rows).
The Linux kernel's official coding style guide still states that lines should not exceed 80 characters. However, since GitHub and VS Code support wider displays, many teams have relaxed their limits to 120 or even 160 characters.
In email culture, wrapping at 72–78 characters has long been the convention. This is because RFC 2822 (the email format standard) sets a maximum of 1,000 characters per line but recommends wrapping at around 72 for readability.