Strip Line Numbers and List Numbering from Any Text
Text copied from numbered lists, code editors, PDFs, transcripts, and legal documents arrives with numbers welded to the start of every line. Deleting them by hand means clicking into each line one at a time — tedious for ten lines and unworkable for a thousand. This free tool removes leading line numbers from all lines at once, recognizing the common formats: 1., 1), 1:, 1 -, [1], (1), and plain numbers followed by spaces or tabs. The cleaned text keeps its line structure and is ready to edit, reflow, or renumber. Processing is fully client-side, so private documents stay on your device.
Which Numbering Formats Are Detected
The tool targets numbers that begin a line and the punctuation that typically accompanies them. It removes patterns like 1. and 12. with a period, 1) and (1) with parentheses, 1: with a colon, 1 - with a dash, [1] in square brackets, and bare numbers separated from the content by spaces or a tab. Detection is anchored to the start of each line, so numbers that appear inside the text — years, quantities, prices, section references mid-sentence — are never touched. Only the leading numbering and its trailing separator are stripped.
Cleaning Text Copied from Code Editors and Terminals
Copying code from editors, tutorials, or terminal output often captures the gutter line numbers along with the code itself, producing lines like 42 const result = parse(input); that will not compile. Pasting such a fragment here strips the leading numbers from every line while preserving the code and, with the trim option disabled, its indentation. This is the fastest way to recover runnable code from screenshot transcriptions, PDF programming books, and documentation sites that bake numbers into copied text.
Removing Bullets Along with Numbers
Mixed documents often combine numbered items with bulleted sub-items marked by dashes, asterisks, or bullet characters. Enable the bullet option to strip those markers in the same pass: leading -, *, and • symbols are removed from line starts together with the numbers. This turns a fully decorated outline into plain lines of text, convenient when you are moving content into an editor that applies its own list formatting and would otherwise double up the markers.
Preserving or Trimming Leading Space
After a number is removed, a gap may remain where the separator used to be, and indented lists carry their own leading whitespace. The trim option, enabled by default, removes spaces and tabs left at the start of each line so the cleaned text aligns flush left. Disable it when indentation is meaningful — in code, poetry, or nested outlines — and the tool will remove only the numbering itself, leaving the original spacing intact.
Typical Situations Where Numbers Get in the Way
Writers paste numbered draft feedback back into a manuscript and need the numbers gone before merging. Students copy numbered study questions into notes where the numbering restarts incorrectly. Editors receive transcripts with timestamped, numbered lines that must read as continuous prose. Developers clean numbered code samples from books and blog posts. Office workers move numbered lists between Word, email, and project tools, where pasted numbers conflict with automatic list formatting. In every case the fix is the same: strip the old numbers first, then let the destination apply its own.
Privacy and Client-Side Processing
Everything runs locally in your browser. The text you paste is processed by JavaScript on your own device and is never transmitted, stored, or logged anywhere. That makes the tool appropriate for legal documents, internal reports, unpublished writing, and any other content you would not paste into an online service that uploads data. Refreshing or closing the tab clears the text from memory completely.