Add Prefix and Suffix
Add custom prefix and/or suffix to the start and end of each text line.
How it works
Prepend or append text lines automatically. Enter your multi-line text, specify a prefix (inserted at the start of each line) and/or a suffix (inserted at the end of each line). You can also choose to ignore empty lines.
Frequently asked questions
What are prefixes and suffixes in text editing?
A prefix is a string added to the very beginning of a text line, while a suffix is added to the very end of a line.
How does the 'Skip empty lines' option work?
When checked, lines that contain no text (or only spaces) will be ignored and won't have the prefix or suffix applied, keeping empty lines clean.
How is this tool useful in developer tasks?
It is perfect for code formatting, such as transforming flat lists of items into SQL query values, quoting arrays, formatting file paths, or styling markdown logs.