Tools
Runs locally

Wrap Text

Wrap long lines near a width.

Ctrl+Enter runs. Ctrl+Shift+Backspace clears.

Export and import are available after you sign in. Sign in

Wrap long lines near a width. Runs in the browser. Nothing is uploaded.

About this tool

Format plain text for an email, a git commit message or a fixed-width terminal. Choose the maximum line width and long lines are broken at the nearest space.

How to use it

  1. 01

    Paste the text.

  2. 02

    Set the line width, for example 72.

  3. 03

    Copy the wrapped text.

FAQ

Frequently asked questions

Are words cut in the middle?

Only when a single word is longer than the width; otherwise lines break at spaces.

Which width should I use?

72 is common for commit messages and plain-text email, 80 for terminals and code.