Tools84

TEXT FORMATTING / A PRACTICAL GUIDE

How tonumber lines in a text list

Number text lines with labels you control.

Add sequential numeric, Roman-numeral or letter labels to each line, including optional text before and after the label.

Follow the guide
A real before-and-after example
Before Input for add line numbers

The original source text.

After Actual output for add line numbers

The downloaded text result.

The comparison uses the original input and the actual downloaded result.
Advertisements
QUICK VIDEO TUTORIAL Number every text line Number every text line English narration Watch the video

Number every text line

Advertisements

Add sequential numeric, Roman-numeral or letter labels to each line, including optional text before and after the label. Follow the exact input and settings below to reproduce this example. Open Add Line Numbers.

01

Prepare the source text

Open Add Line Numbers and choose Write or paste text, or upload a supported UTF-8 text file. The upload opens the editor; it does not run the tool. This example uses the exact source shown in the comparison.

Maximum input and result: 1 MB of UTF-8 text, with a 1,048,576-character input ceiling. Expanding transformations must also fit the result limit.

Use the exact example input
First item
Second item
Third item

This text operation runs in your browser; its source and result are not sent for conversion. A draft may be kept in this browser tab when session storage is available. Clear removes the current draft; download important work before closing the tab.

02

Choose the settings

For the recorded example, use these settings: Numbering: Numbers; Letter case: UPPERCASE; Start at: 1; Number prefix: (; Number suffix: ) .

Numbers use decimal labels. Roman numerals use the corresponding numeral sequence, and Letters continue from A through Z to AA and beyond. Start at chooses the first value; it can be from 1 to 1,000,000. Letter case affects Roman and alphabetic labels. Number prefix and Number suffix are inserted around each label before the original line.

Numbering
Numbers
Letter case
UPPERCASE
Start at
1
Number prefix
(
Number suffix
)

The example in this guide

Verified in the i2TEXT browser workflow on November 11, 2026.

Input
example.txt
Output
add-line-numbers.txt
Saved result
45 bytes
03

Apply and inspect the result

Select Add Line Numbers when the input and settings are ready. In the saved example, the result begins: "(1) First item".

Blank lines are numbered too. Remove empty lines first if they should not occupy a position in the sequence.

04

Save the version you reviewed

Review the current result, then use Download text to save a TXT file. The actual download in this example is named add-line-numbers.txt. Copy and download use the current result, so make any final wording changes before saving. Continue to can carry the result into a compatible next tool, where you review it before running another operation.

The reviewed copy is ready

example.txtadd-line-numbers.txt

A FEW USEFUL DETAILS

Common questions

Which settings produced this example?

Numbering: Numbers; Letter case: UPPERCASE; Start at: 1; Number prefix: (; Number suffix: ) .

What should I check before using the result?

Blank lines are numbered too. Remove empty lines first if they should not occupy a position in the sequence.

Where is this text processed?

This text operation runs in your browser; its source and result are not sent for conversion. A draft may be kept in this browser tab when session storage is available. Clear removes the current draft; download important work before closing the tab.

YOUR TURN

Try Add Line Numbers with your own text.

Use your own source and review the result before sharing.

Open Add Line Numbers

Image detail

Language38

English العربية Français Italiano Deutsch Español Português Nederlands Русский Türkçe 日本語 中文 हिन्दी Bahasa Indonesia Bahasa Melayu 한국어 Tiếng Việt ไทย Polski Svenska Українська Norsk বাংলা Ελληνικά فارسی اردو Čeština Dansk Magyar Română Suomi Български Filipino ქართული Slovenčina Azərbaycanca עברית Slovenščina

Choose from 38 interface languages.