Number lines

Add numbers with a separator and optional zero-padding (handy for logs and diffs).

Overview

Prefixes each line with a configurable number and separator. The rest of each line is unchanged.

Tool guide

  • O objeto tratado Texto multilinha.
  • O que a ferramenta faz Prefixa cada linha com um número sequencial, separador configurável e opcional preenchimento com zeros (001, 002, …).
  • Por que usar Referenciar trechos em code review, alinhar com mensagens de erro que citam número de linha, formatar logs colados.

Sample

a
b → 001: a
002: b (com início 1 e largura 3)

FAQ

What is this tool for?

It runs fully in your browser: useful to validate, format, or convert data in everyday development.

Are my inputs sent to a server?

Processing happens locally with JavaScript. We do not store what you paste into the text areas.

Can I use this for real production data?

Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.