HHelpje

Line Operations

Number lines, add a prefix or suffix to every line, join and split text β€” in the browser.

Text is processed locally in your browser β€” nothing is sent to the server.

Line operations β€” number, prefix, join, and split text lines

This free tool offers the four most useful text line operations: line numbering with a configurable format, adding a prefix and suffix to each line, joining lines into a single string with a chosen separator, and splitting text into separate lines by any delimiter. No login required, no character limits.

Full privacy β€” text processed locally

Your text is never sent to a server. All processing happens in the browser β€” you can safely process confidential data, email addresses, passwords, or customer records.

Frequently asked questions

How do I add numbering to each line?
Select the "Number lines" operation. In the "Number format" field you can customize the pattern β€” by default "{n}. " inserts the number and a dot before each line. Use the "Starting number" field to set which number to begin from (useful when continuing a list).
How do I join multiple lines into one comma-separated string?
Select the "Join lines" operation and enter ", " (comma with a space) in the "Separator" field. Click "Run" and all lines will be merged into a single string. You can use any separator β€” a space, dash, newline, or even an HTML tag.
How do I split comma-separated text into separate lines?
Select the "Split into lines" operation and enter the separator you want to split on in the "Split by" field (default is ", "). The tool will break the text into fragments and place each on its own line β€” ready for further processing.

See also