← Back
Online Toolbox
Batch Add Prefix / Suffix
Add prefix and suffix to each line of multi-line text
Input Text
Prefix
Suffix
Skip empty lines
Trim whitespace first
Process
Copy Result
Clear
Result
Variable Reference
The following variables can be used in prefix and suffix:
{n}
— Line number (from 1)
{n0}
— Line number (from 0)
{line}
— Current line content