Remove Line Numbers
Strip leading line numbers from pasted text or code.
Clean out pasted line numbers
Copying code from an editor or a PDF often drags along the line numbers, which then break the pasted result. This tool strips those leading numbers so the content is clean.
A block numbered 1. 2. 3. comes back with just the lines. It removes a leading number followed by a dot, colon, parenthesis, or spaces, leaving the actual text intact.
Tidy and private
The cleanup runs in your browser, so nothing you enter is uploaded.
Frequently Asked Questions
What does it remove?
Leading numbers at the start of each line, followed by a dot, colon, parenthesis, tab, or spaces.
When is it useful?
Cleaning code or text copied from an editor or PDF that included line numbers.
Does it touch the content?
Only the leading number and its separator are removed; the rest of each line is untouched.
Browse the full set of free, private, in-browser tools.