Skip to content
TextArray
100% local

Remove line numbers

Strip the leading number or list marker from every line of your text.

Input
Output

Remove line numbers

Paste a numbered list or a block of code and this tool strips the leading number from every line, leaving only the content. It is the fastest way to clean up text you copied from somewhere that added numbering you did not want — a numbered list from a document, search results, a spreadsheet column, or a code snippet pasted from an editor or a Stack Overflow answer with line numbers running down the left edge.

The tool recognises the common numbering styles automatically. A number followed by a dot, a bracket or a colon (1. , 2) , 3: ), a number with a dash (1 - ), a tab-separated number, a bare number followed by a space, and bracketed forms like [1] and (1) are all detected and removed. Lines that do not start with a number are left exactly as they are, so a mixed block only loses its numbers where numbers actually exist.

Two options control the details. "Keep indentation" preserves the whitespace that came before the number, which matters when you are cleaning indented code and want the structure intact. "Also strip [1] and (1)" is on by default; turn it off when your text uses those brackets for something meaningful, like footnote references, and only plain 1. numbering should go.

Everything runs in your browser. Your text is never uploaded, so pasted code, internal notes and private lists stay on your device. Copy the cleaned result, download it as a .txt file, or send it straight to another tool to keep editing.

FAQ

Which numbering formats does it recognise?
A leading number followed by a dot, bracket, colon or dash (1. , 2) , 3: , 4 - ), a tab-separated number, a bare number and a space, and bracketed forms like [1] and (1). Lines without a leading number are left unchanged.
Will it damage numbers inside the text?
No. Only a number at the very start of a line, followed by a separator or a space, is removed. Content such as "12 items" or "1st place" stays intact because it is not a line marker.
What does "Keep indentation" do?
It preserves the spaces or tabs that appeared before the number. Leave it off to align every line to the left margin; turn it on when you are cleaning indented code and want the layout preserved.
Is my text uploaded anywhere?
No. The tool runs entirely in your browser and your text never leaves your device.