How it works (and what it doesn't handle)
Claude Code wraps its terminal output to ~120 columns and prepends a 2-space indent on every line. Pasted into a normal text field, that becomes a hard-wrapped block of broken paragraphs — and naive cleanup tools also collapse list items into one line.
This tool:
- Removes a single leading 2-space indent from each line.
- Joins consecutive paragraph lines into one logical paragraph.
- Detects bulleted (
- , * , • ) and numbered (1. ) lists, keeps each item on its own line, and re-joins their wrap-around continuation lines back onto the item.
- Collapses runs of blank lines to a single blank line and trims leading/trailing blanks.
It does not attempt to handle code blocks, tables, or nested lists with mixed indentation — those are passed through best-effort and may need manual fix-up.
Everything runs locally in this page; nothing is sent anywhere.
Inspired by Simon Willison's Cleanup Claude Code Paste.