Text & Lists
Line numbers Adder
Add line numbers to the supplied input. Enter the text, set the transformation rules, then copy the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
Line numbers Adder prefixes each input line with an aligned number and a configurable offset.
11 alpha 12 beta Processing runs in the browser.
Instructions
- Provide text or data for this tool.
- Paste the lines in their original order.
- Set Offset to the number before the first displayed line.
- Remove or ignore the numbers before passing the result to a parser.
Example
Input: alpha beta
Settings: Line numbers Adder: Set Offset to 10.
Result: 11 alpha 12 beta
Limits
- Line numbers Adder: The output changes every line by adding a numeric prefix.
- Line numbers Adder: An offset does not alter the input content after the prefix.
- Line numbers Adder: The operation runs in the browser and does not need a network service.