➕ Prefix · Suffix · Instant · Free

Add Prefix &
Suffix to Lines

Add any text before or after every line. Perfect for CSS classes, SQL IN clauses, quoted lists and code formatting. Results update live.

Quick presets:
"quoted", 'single', - list item • bullet <li></li> <p></p> console.log() https://
→ LINE →
Skip empty lines Trim whitespace first
Input — one item per line
Result

Free Online Prefix and Suffix Adder

ExperToolBox's prefix/suffix tool adds any text before and/or after every line of your input instantly. Whether you need to wrap a list of values in quotes for a SQL IN clause, add HTML tags around each item, format a CSS class list, or add bullet points — this tool handles it in seconds with live preview.

Popular use cases

Adding quotes and commas to a list of values for a SQL WHERE id IN ('a','b','c') query is one of the most common uses. Adding <li> and </li> tags to convert a plain list to HTML, adding console.log( and ); around variable names for debugging, or prefixing lines with https:// to make a list of domains into full URLs.

FAQ

Can I use special characters like quotes or brackets?
Yes. Any text can be used as prefix or suffix including quotes, brackets, HTML tags, special characters, spaces and emojis.
Does it work with hundreds of lines?
Yes — no size limit. All processing happens in your browser instantly regardless of list length.

Other Free Text Tools