Add Line Numbers to Text

Add aligned line numbers to any block of text — useful for quoting code or steps.

100% freeNo sign-upRuns in your browserNo upload · data stays private

📖 Read the full Add Line Numbers to Text guide — how it works, examples & FAQ →

How to use this tool

  1. Paste your lines.
  2. Get numbered output.
  3. Copy it.

Example

a / b → 1. a / 2. b

Why it's private

This tool runs entirely in your browser using JavaScript. Whatever you paste is processed on your own device — it is never uploaded to a server, logged, or stored. Built by Calabi, which also strips AI metadata and C2PA signals from images and video.

Related tools