Home / Tools / Add Line Numbers

Add Line Numbers

Prefix lines with line numbers. Free, private and processed locally in your browser.

Input text

Result

How to use Add Line Numbers

Enter your text in the input box above. The result updates as you type. Use Copy result or Download TXT to save your output.

What does this tool do?

Prefix lines with line numbers. Textly processes this content on your device using JavaScript. It does not upload the text to our server.

Helpful tip

Review the output before using it in published content. Some conversions, such as removing punctuation or normalizing whitespace, intentionally change formatting.

Browse more text tools →