Add/Remove Line Numbers
Line number tool that adds numbers in front of every line of text or strips existing ones. Set a custom starting number and separator for code, logs or lists, free in your browser.
Embed
Last updated: 2026 · Free online tool
What is Add/Remove Line Numbers?
Line number tool that adds numbers in front of every line of text or strips existing ones. Set a custom starting number and separator for code, logs or lists, free in your browser.
How to Use
- 1Select mode— Choose add or remove mode.
- 2Enter text— Enter your text.
- 3Copy result— Copy the result.
Related Tools
Sort & Remove DuplicatesSort and dedupe text lines alphabetically or with natural sort, removing duplicates with options for direction and case sensitivity. Empty-line removal and duplicate statistics included, free in your browser.
Text Diff CheckerFree online tool to compare two texts and highlight added, deleted, and changed lines. It runs line-by-line comparison with the Myers diff algorithm, the same family Git uses, and supports inline diff within lines.
Find & ReplaceFree online find and replace tool for text and code. Search with plain text or regular expressions, toggle case sensitivity and replace all matches at once, right in your browser.
Text StatisticsFree online tool to analyze text with character count, word count, sentence count, reading time, and word frequency. It counts Korean syllables separately, lists the top 10 words, and updates statistics in real time.
Frequently Asked Questions
Four separators are supported: dot (1. ), colon (1: ), tab (1\t), and space ( 1 ).
Yes, you can start from 0 or any number you want.
Zero-padding adds leading zeros like 001, 002 to align digit places.
No, common line number formats are automatically detected and removed.
No. All processing is performed in the browser.