← All tools
// TEXT

Word Wrap online

Wrap text to any column width — perfect for terminals and code.

Word Wrap logo
by
CHUNKY
MUNSTER
WORD WRAP TOOL

Why Wrap Text?

How to Use the Word Wrap Tool

  1. Paste or enter your input into the text field.
  2. Configure any options (format, delimiter, encoding, or mode) using the controls above the output.
  3. The result updates instantly — no submit button required for most operations.
  4. Click Copy or Download to take the output to your next step.

Wrap long lines of text to a fixed column width — useful for plain-text email (72 columns), git commit message bodies (72), terminal output (80), and code comments (80–99). Set any width between 20 and 1000 columns and the result updates live.

How the Word Wrap Tool Works

Soft wrap (the default for prose) breaks only at word boundaries, so lines never end mid-word and may sit slightly under the target. Hard wrap breaks at the exact column position even inside long words — essential when the output must fit a strict column budget like a fixed-width terminal pane. Blank lines and existing paragraph breaks are preserved.

Frequently Asked Questions

Which column width should I use?

80 for terminal output and code comments (the classic VT100 default), 72 for email plain-text and git commit message bodies (per Linux kernel convention), and 100–120 for modern source code. Most documentation is wrapped at 80–90.

What’s the difference between hard and soft wrap?

Soft wrap breaks at word boundaries — lines may be slightly under the target width but never end mid-word. Hard wrap breaks at the exact column even inside a word, useful when output must fit a strict column budget (e.g. fixed-width terminals or text-only emails).

Does the wrapper preserve paragraph breaks?

Yes — blank lines between paragraphs are kept. Each paragraph is re-flowed independently, so wrapping doesn’t merge them or lose visual separation.

Is the text sent anywhere for wrapping?

No — the wrap runs entirely in your browser using a single JavaScript pass over each paragraph.

Explore the full suite of TEXT tools and 290+ other free utilities at Chunky Munster.