Use this free text formatter to tidy the layout of plain text in seconds. Paste your text and choose a format: fix spacing around punctuation and capitalize sentences, join broken lines into full paragraphs, wrap long lines to a set width, or turn lines into a bullet or numbered list. You can copy the result, download it as a text file, or send it back to the input to apply another format. Everything runs in your browser and the result updates as you type.
The formatter changes spacing, line breaks, list markers, and sentence capitalization, not your words. It does not check spelling or grammar.
How to use the text formatter
Paste your text and the formatted version appears instantly.
- Paste your text: add the text you want to format.
- Choose a format: pick Fix punctuation, Join into paragraphs, Wrap lines, Bullet list, or Numbered list.
- Adjust the options (optional): set the line width, bullet style, numbering style, or whether to capitalize sentences.
- Copy or download: copy the result, download it as a .txt file, or use Use as input to format the result again.
What each format does
| Format | Example | What it does |
|---|---|---|
| Fix punctuation | hello ,world .This → Hello, world. This | Removes spaces before punctuation, adds spaces after commas and sentence ends, collapses repeated spaces, and capitalizes sentence starts. |
| Join into paragraphs | The quick brown ↵ fox → The quick brown fox | Joins lines broken by the page width into one paragraph and keeps the blank lines between paragraphs. |
| Wrap lines | One long line → several lines | Breaks long lines at spaces so none is longer than the chosen width. |
| Bullet list | Milk ↵ Eggs → • Milk ↵ • Eggs | Puts a bullet, hyphen, or asterisk in front of every non-empty line. |
| Numbered list | Milk ↵ Eggs → 1. Milk ↵ 2. Eggs | Numbers every non-empty line in order, in the style you choose. |
Common text formatting uses
| Situation | Format to use | Why |
|---|---|---|
| Text copied from a PDF | Join into paragraphs | PDFs break lines at the page edge, which leaves short lines in the middle of sentences. |
| Sloppy typing or a rough draft | Fix punctuation | It cleans up spacing and capitalization in one step. |
| Plain-text email or code comments | Wrap lines | Many plain-text systems expect lines of about 72 to 80 characters. |
| Notes, to-do items, or a shopping list | Bullet list | Each line becomes an item you can paste into a document or message. |
| Steps or a ranking | Numbered list | The order of the lines is kept and numbered for you. |
What this tool does and does not do
This tool formats plain text. It does not rewrite sentences, check spelling, or correct grammar, and it does not keep rich formatting such as bold or italics. The punctuation fixer follows simple rules, so it may miss unusual cases or capitalize a word after an abbreviation it does not know, and it leaves web addresses and numbers such as 1,000 alone. Always read the result before you use it. To remove hidden characters, HTML tags, and curly quotes, use the Text Cleaner. To change capital letters across the whole text, use the Case Converter. To flatten text into a single line, use Remove Line Breaks.
Format text last, after you have cleaned it. Removing hidden characters and extra spaces first gives the formatter cleaner input.
Worked examples
Fixing text copied from a PDF
Paste a paragraph whose lines break in the middle of sentences and choose Join into paragraphs. The short lines join into one flowing paragraph, and blank lines between paragraphs stay in place.
Making a bullet list
Paste three lines, "Milk", "Eggs", and "Bread", and choose Bullet list. The result is "• Milk", "• Eggs", and "• Bread". If the lines already started with hyphens or numbers, they are removed first so the markers are not doubled.
Wrapping to 72 characters
Paste a long line, choose Wrap lines, and keep the width at 72. The tool breaks the line at spaces so every line is 72 characters or shorter. A single word longer than the width stays on its own line rather than being cut.
Common text formatting mistakes
- Joining lines that were meant to be separate. A list or a poem needs its line breaks, so use Join into paragraphs only for text that was broken by the page width.
- Forgetting that blank lines separate paragraphs. Lists skip blank lines, and Join into paragraphs uses them to know where a paragraph ends.
- Capitalizing text that should stay lowercase. Turn off the capitalization option for code, usernames, and file names.
- Wrapping text that already has set line breaks. Join it into paragraphs first, then wrap it.
Frequently asked questions
What does a text formatter do?
A text formatter changes how plain text is laid out without changing its meaning. This tool can fix spacing around punctuation, capitalize sentences, join broken lines into paragraphs, wrap lines to a set width, and turn lines into bullet or numbered lists.
How do I format text?
Paste your text into the tool, choose a format such as Fix punctuation, Join into paragraphs, Wrap lines, Bullet list, or Numbered list, and copy the result.
How do I fix text copied from a PDF with broken lines?
Choose Join into paragraphs. The tool joins lines that were broken by the page width into full paragraphs and keeps the blank lines between paragraphs. You can also choose to rejoin words split by a hyphen at the end of a line.
How do I turn a list of lines into bullet points?
Put each item on its own line, paste them into the tool, and choose Bullet list. You can pick a bullet, a hyphen, or an asterisk. Existing bullets and numbers are removed first so they are not doubled.
What does wrapping lines do?
Wrapping breaks long lines at spaces so that no line is longer than the width you choose, such as 72 or 80 characters. It is often used for plain-text email, code comments, and terminal output.
Will the tool change my words?
No. It changes spacing, line breaks, list markers, and the capitalization of sentence starts only. It does not rewrite, spell-check, or correct the grammar of your text.
Where does my text go?
The formatting runs in your browser. This page does not send or save the text you paste, and clearing the form removes it from the screen.
Is there a limit on text length?
The tool accepts up to 100,000 characters of text. For longer content, format it one section at a time.