Result
All calculations run locally in your browser: parsing, chart, export. Disconnect the network and the page keeps working.
Facts and limits of this method
| Prefix | Added at the very start of every line being processed |
|---|---|
| Suffix | Added at the very end — an optional field, can be left blank |
| Skip empty lines | On by default — an empty line stays empty, with no prefix or suffix |
| Application order | Prefix and suffix are added at the same time in one pass |
When it misleads you
- The prefix and suffix are literal text, not a template — you can't insert something like an automatic line number into them; there's a separate tool for numbering.
- With "skip empty lines" off, the prefix and suffix are added to empty lines too — an empty list line turns into a line consisting of just the prefix (and suffix, if one was given).
- Spaces inside the prefix and suffix fields themselves are taken literally — if there's a trailing space in the prefix, it carries over into the result right before the line's text.
- The tool doesn't check whether adding the prefix/suffix creates syntax errors in a specific format (for example, when preparing code) — it just mechanically adds the given text to every line.
How it is calculated
The text is split into lines on line breaks.
For each line, if "skip empty lines" is on and the line consists only of whitespace, it's left unchanged.
For every other line, the prefix is added at the start and the suffix at the end, in a single operation.
The counter shows how many lines were actually changed — that is, how many lines weren't skipped as empty.
Questions and answers
Can I add only a suffix, with no prefix?
Yes, just leave the prefix field blank — then only the end of each line changes.
How do I add numbering instead of fixed text?
There's a separate tool for that — "line numberer," which adds a sequence number rather than fixed text.
What happens to empty lines when the skip option is off?
They get the prefix and suffix too — an empty line turns into a line made up of just those added fragments.
Is my text sent anywhere?
No, all the processing runs in your browser.