Text Tools

Text Formatter

Wrap, indent, and reformat blocks of text.

About this tool

Reformat any block of text: wrap long lines to a fixed width, indent everything by N spaces, sort lines, or add a prefix to each line. Useful for emails, code comments, and prepping text for fixed-width systems.

How to use

  1. Paste your text.
  2. Choose your formatting options.
  3. Copy the result.

Benefits

  • Wrap to fixed width
  • Add prefix/suffix per line
  • Sort alphabetically

Real-world use cases

  • Emails to plain-text mailing lists
  • Code comments
  • Prepping bulleted lists

Tips & best practices

  • 80-character wrap is a safe default
  • Sort + dedupe for clean lists
  • Use prefix to add Markdown bullets

Frequently asked questions

Will wrapping break words?

No, it wraps on word boundaries.

Can I undo the formatting?

Use the 'Unwrap' option to collapse back to single lines.

Is sorting case-sensitive?

There's a toggle for that.

Ratings & reviews

No reviews yet. Be the first.

Sign in to leave a rating.

Loading reviews…