Remove indentation
Paste your text: spaces and tabs at the start of each line are removed.
- Lines before 0
- Lines after 0
The real case: text copied out of a PDF or an email
Some texts drag spaces along at the start of every line: quoted replies inside emails, blocks copied from a laid-out PDF, answers pasted from a chat. When you put them back into a document, that invisible indent throws off the alignment, and the word processor's automatic tidying doesn't remove it. Here it disappears in one go across all the lines at once.
What gets removed
Only the spaces and tabs at the start of each line, up to the first thing that isn't a space. The rest of the line is untouched: spaces between words stay, punctuation stays, the lines stay as many as they were, and empty lines stay empty. It's a targeted clean-up, not a rewrite.
Where NOT to use it
If the text is code, the indent isn't decoration: in Python it's the thing that says where a block starts and ends, and removing indents means breaking the program. In other languages too, the code becomes unreadable. If your code's problem is tabs showing up at different widths everywhere, the right page is Tabs to spaces, which makes them consistent instead of throwing them away.
Several clean-ups at once, in a fixed order
Below the box you will find all ten clean-ups of this family, and you can tick as many as you like: each page starts with its own already ticked. The program is the same on all ten, so the same text with the same boxes gives the same result on whichever page you paste it.
The order does not depend on which boxes you tick, and it is the order you see them in: first the characters (emojis, accents, numbers, punctuation), then the spaces inside each line (tabs, indentation, extra spaces), then whole lines (blank and duplicate) and last of all joining everything into one line. So a line that is left empty once the emojis are gone disappears with the blank lines, and two lines that become identical once the spaces are gone count as duplicates.
The sister pages, each with its own box already ticked: Remove extra spaces, Remove blank lines, Remove duplicate lines, Remove emojis, Remove accents, Remove punctuation, Remove numbers, Text on one line and Tabs to spaces.
Nearby tools
For double spaces between words and the ones left at the end of a line there is Remove extra spaces; to drop the empty lines in between, Remove empty lines. If instead you have to stitch back together a text that came out of a PDF broken line by line, that's the job of Fix text copied from a PDF.