Text 60

Add line number

Specify the start number and separator to assign numbers to each line.

Input

The example value has been entered. Check it immediately or change the value.

Integer · minimum -100000 · maximum 100000

Run with Ctrl or ⌘ + Enter

Input is processed in the browser. Refreshing returns a sample value.

Result

Check or change the value using the example value result.

Up to 50,000 characters. Input and results are processed in this page’s memory and not saved. Line breaks use LF.

Share result

Share the tool link and result text together. No URL is included in the result. Check the below content and then share it.

Calculation·conversion criteria

Add a line number to the list using the start number and the separator.

Line number = starting number + line position

Input example

Go / No → 1. Go / 2. No

By selecting the separator “. ” between the start number 1, the first line A becomes “1. A”. The next line adds 1 to the start number to form the number.

How to use

  1. Use the provided example value or replace the list, start number, and number separator fields.
  2. Click Verify result and check the following result.
  3. Result can be copied if needed.

Frequently Asked Questions

Are empty lines numbered?

It is added. Each input line counts as one item, including the empty line after the final newline. Remove blank lines before numbering to include only lines with content.

Calculation criteria and reference materials

The calculation formula and scope of this tool are disclosed in the above description. Examples can be checked by substituting input values into the formula or following the specified string and calendar handling rules.

Verification of calculation criteria: · Calculation·verification principles · Report errors