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
Options
Runs in your browser
Result
Your cleaned text will appear here.
Add your text, then press Format text.
How to use Text Formatter
- Paste your text into the input box.
- Choose how to handle line breaks: keep them, join broken lines into paragraphs, or remove them all.
- Set paragraph spacing, an optional wrap width, and whether to fix spacing around punctuation.
- Copy or download the formatted text.
Example
This paragraph was copied from a PDF, so every line is broken in the middle . A second paragraph.
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.

