textcleanups

Remove line numbers

Strip numbers like 1. or 2) from the start of each line, and bullets too if you like, without touching numbers in your text.

Options

Your text stays in your browser. Nothing is uploaded or saved.

All text tools

Or fix everything at once with the all-in-one text cleaner.

AI-written text

ChatGPT text cleaner
Remove hidden characters, odd spaces and Markdown from AI answers.
Remove em dashes
Replace every — with a comma, period or hyphen.
Remove Markdown
Turn Markdown into plain text: no **, #, links or tables.
AI phrase finder
Highlight overused AI words and phrases.

Lines

Remove line breaks
Turn text broken across many lines back into clean paragraphs.
Remove duplicate lines
Keep the first copy of every line and delete the repeats.
Remove empty lines
Delete blank lines, or cut long gaps down to one.
Sort lines
Sort a list A to Z, Z to A, by length, reversed or shuffled.
Add line numbers
Number every line, your way.
Remove line numbers
Strip numbers and bullets from the start of lines.
Comma separator
Turn a list into comma-separated text, and back.

Spaces and characters

Remove extra spaces
Collapse double spaces, trim lines and replace tabs.
Remove special characters
Strip symbols and keep only letters, numbers and punctuation you choose.
Remove emojis
Delete every emoji, including skin tones, flags and combined emoji.
Remove accents
Turn é into e, ü into u and ß into ss.
Convert smart quotes
Turn curly quotes, long dashes and ellipses into plain text.

Formatting and counting

Case converter
Switch text to sentence case, Title Case, UPPERCASE, camelCase and more.
Find and replace
Replace words or patterns across your text, with regex support.
Strip HTML tags
Turn HTML into clean, readable plain text.
Word counter
Count words, characters, sentences and reading time as you type.
Text diff checker
Compare two texts and see what changed.
Word frequency counter
See which words you use most.
Reverse text
Flip text backwards, by letter, word or line.

What gets removed

The tool removes numbering at the very start of a line when it's followed by punctuation, a space or a tab. It recognizes the common styles:

BeforeAfter
1. ApplesApples
2) PearsPears
[3] PlumsPlums
#4 FigsFigs
1.2 GrapesGrapes

Numbers that stay

Numbers that are part of your text are left alone: times like 10:30 meeting, decimals like 3.14 is pi and years like 2026 was busy. If your lines are numbered with just a number and a space, such as code copied with line numbers, turn on Also remove plain numbers followed by a space. Check the result, because that option also removes a year or amount at the start of a line.

Common uses

  • Cleaning code copied from a website or PDF that included line numbers
  • Turning a numbered list back into plain lines so you can sort or re-number it
  • Removing bullets from lists copied out of documents and slides

Questions

Why weren't some numbers removed?

To protect text like times and decimals, a number needs punctuation, a tab or a space after it. Turn on the plain numbers option for lists numbered with just a space.

Can I re-number the list afterwards?

Yes. Copy the result into add line numbers, or sort it first with sort lines.