A paste from Word or Slack full of double spaces and empty lines. Run this before a line-dedup. Do not run it on a Makefile.
A stakeholder paste with three spaces after every period and a forest of blank lines. This page squeezes whitespace. It is not Prettier.
Code belongs on code beautify, SQL, or JSON formatter. Lists go to line deduplicator. Surgical edits: find and replace.
Paste from a spreadsheet
A form letter full of doubled spaces and blank lines. Do not run this on Python — indentation is syntax. Word/token replace is find-replace. Duplicate lines are the deduplicator. Character limits after cleaning go to the word counter (not X’s official weights).
How to use it
- Paste prose or a ragged list.
- Clean. If you needed to keep a blank line between sections, copy those back.
- Keep code out of this box.
Honest limits
Not Unicode whitespace class complete for every script. Not a legal redline.