Home/Blog/How to Wrap Text at 80 Characters Online

How to Wrap Text at 80 Characters Online

Word-wrap long lines of text to a fixed width for emails, code comments, READMEs, and terminal display.

2026-05-09Convert Text

Text wrapping — breaking long lines at word boundaries to fit a fixed width — is essential for plain text emails, code documentation, terminal output, and README files.

Why 80 Characters

The 80-character line width is a long-standing convention from terminal displays. It remains the standard for plain text emails (RFC 2822 recommends 78 characters), most code style guides, man pages and terminal documentation, and commit messages (Git recommends 72 for the body).

How It Works

Paste any text into the Wrap Text tool above and click Run. The tool breaks lines at word boundaries so no line exceeds 80 characters. It does not break words — if a single word is longer than 80 characters, it gets its own line.

Common Use Cases

Plain text emails — wrap before sending to ensure readability across email clients. README files — keep documentation at a consistent width. Code comments — wrap long comment blocks to match your style guide. Terminal scripts — format output text for console display. Commit messages — wrap the body of git commit messages.

Combining with Other Tools

For formatting documentation: paste your raw text, run Normalize Whitespace first to clean spacing, then Wrap Text to set the line width. For code comments: run Wrap Text, then add comment prefixes manually or with a text editor.

Try it now — paste your text below

Everything runs locally in your browser. No data is stored.

Wrap Text

Break long lines at word boundaries so no line exceeds 80 characters. Useful for formatting text for terminals, emails, or fixed-width displays.

Example

Input

This is a very long sentence that goes on and on and should be wrapped at a reasonable width for readability.

Output

This is a very long sentence that goes on and on and should be wrapped at a
reasonable width for readability.

How Wrap Text Works

Break long lines at word boundaries so no line exceeds 80 characters. Useful for formatting text for terminals, emails, or fixed-width displays.

This tool runs entirely in your browser — no data is sent to any server. Paste your text, click Run, and get your result instantly. You can also chain this tool with others using the pipeline feature: run Wrap Text, then continue with a related tool to build a multi-step text workflow.

TextRefinery is a free, open-source text processing toolkit. Learn more about regular expressions and text processing on the web.

TextRefinery — Browser-first text transformation tools. All processing happens locally in your browser.