Add line numbers to text or put a prefix and suffix on every line of a list. Free online tool for code, lists and data. Copy the result in one click.
About this tool
Number lines or attach a prefix and suffix to each line of a list.
How to use Add Prefix, Suffix & Line Numbers
- Paste Lines and enable Number lines if numbering is needed.
- Choose the number format and Start at, then enter any Prefix and Suffix.
- Set Skip empty lines and copy Result after checking spacing.
Worked example
Start at 10 with the 1. format to label the next section of an existing numbered list.
Can I add a prefix without numbers?
Yes. Turn off Number lines and use the Prefix and Suffix fields on their own.
Will this create an HTML ordered list?
It generates text labels, not semantic HTML list elements. Use proper list markup when publishing on a webpage.
Explore Text Tools · More practical guides