Line Numbering Tool
Add or remove line numbers from text with custom formatting.
Input
Output
About the Line Numbering Tool
Add sequential line numbers to any block of text with a custom start number, separator, and zero-padding, or strip existing line numbers back out. Handy for code snippets, scripts, and numbered lists.
Examples
Add numbers
apple
bananaOutput
1. apple
2. bananaKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Email & URL Extractor
Text & String
Pull emails, links, domains and phone numbers out of any text.
Lines to String Converter
Text & String
Turn newline-separated lines into a quoted, comma-joined string.
List Comparator
Text & String
Compare two lists and see common, A-only and B-only items.
List Randomizer
Text & String
Shuffle a list of lines and optionally pick a random subset.
New Line Remover
Text & String
Remove line breaks and tabs, or swap them for any separator.
Online Notepad
Text & String
A distraction-free notepad with multiple notes that auto-save in your browser.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser