Wrap values in quotes
Set both the prefix and suffix to a quotation mark to turn a plain list into quoted strings, ready to drop into code or a spreadsheet.
"Suffix"apple
banana
cherryAfter"apple"
"banana"
"cherry"Add the same text to the start or end of every line at once. Wrap a list in quotes, add commas, build HTML tags, or comment out a block of code. Everything runs in your browser, so your text stays on your device.
This tool takes a list of lines and adds the same text to every one of them in a single step. The prefix goes at the start of each line and the suffix goes at the end, so you can wrap a plain list in quotes, brackets, or HTML tags, add a trailing comma, or bolt on a repeating label. Doing this by hand across dozens or hundreds of lines is slow and easy to get wrong. Here you type the text once and every line is updated together.
Set both the prefix and suffix to a quotation mark to turn a plain list into quoted strings, ready to drop into code or a spreadsheet.
"Suffix"apple
banana
cherryAfter"apple"
"banana"
"cherry"Add an opening list tag as the prefix and a closing tag as the suffix to turn each line into a list item without touching the markup by hand.
<li>Suffix</li>Home
About
ContactAfter<li>Home</li>
<li>About</li>
<li>Contact</li>Wrap each line in parentheses and end it with a comma to draft an insert statement, or just add a trailing comma to build a quick array.
('Suffix'),red
green
blueAfter('red'),
('green'),
('blue'),Use a prefix like a hash or two slashes to comment out every line at once, useful when you want to disable a block of config or code.
# Suffix—server=on
debug=trueAfter# server=on
# debug=trueAny time the same text needs to repeat on every line, this tool saves a lot of slow, repetitive editing. Here are the most common reasons people use it: