Text Formatter

Paste text with broken line breaks — from a PDF, email or terminal — and TextVix reflows it into clean, readable paragraphs.

  • Free, no sign-up
  • Runs in your browser

Drop your file here, or

TXT, CSV, JSON, Markdown, HTML, XML, DOCX, PDF, RTF and more

Type, paste with Ctrl V, or drop a file

Options

Line breaks
Paragraph spacing
Characters per line, 0 = off
0 = keep tabs

or press Ctrl EnterRuns in your browser

Result

Your cleaned text will appear here.

Add your text, then press Format text.

How to use Text Formatter

  1. Paste your text into the input box.
  2. Choose how to handle line breaks: keep them, join broken lines into paragraphs, or remove them all.
  3. Set paragraph spacing, an optional wrap width, and whether to fix spacing around punctuation.
  4. Copy or download the formatted text.

Example

Before
This paragraph was copied from
a PDF, so every line
is broken in the middle .



A second paragraph.
After
This paragraph was copied from a PDF, so every line is broken in the middle.

A second paragraph.

Broken lines are joined, paragraphs get one blank line, and the space before the period is removed.

Good for

  • Reflowing text copied from PDFs and e-books
  • Fixing hard-wrapped emails and plain-text documents
  • Wrapping text to a fixed width for commit messages or terminals
  • Converting multi-line text into one line

Lists stay intact

When joining broken lines, lines that start with a bullet (-, *, •) or a number (1., 2)) are kept on their own line, so lists don’t get merged into paragraphs.

What happens to your text

Your text is processed in your browser and kept only in this tab’s memory. It is not uploaded, saved or used for analytics.

Questions about Text Formatter

More answers in the TextVix FAQ.

How do I remove all line breaks?

Set “Line breaks” to “Remove all”. Each paragraph becomes a single line.

Can I wrap text at 72 or 80 characters?

Yes. Enter the width in “Wrap at”. Words are never split; set it to 0 to turn wrapping off.

Is my text uploaded anywhere?

No. This tool runs entirely in your browser. Your text and files are never sent to a server or stored.