Add Prefix & Suffix to Lines
Add text to the start and end of every line at once. Quote values, build SQL IN lists, add bullets or HTML tags. Free bulk line editor.
Runs in your browser. Nothing is uploaded.
About Add Prefix & Suffix to Lines
This tool wraps every line of a list with the text you choose. Put quotes and commas around values to build a SQL IN (...) list or a JavaScript array, add <li> tags, prepend bullets, or tack a domain onto usernames.
Prefix and suffix are applied exactly as typed, spaces included.
How to use Add Prefix & Suffix to Lines
- Type or paste your text into the input box. Press Sample to see an example.
- Adjust the options. The result updates as you type.
- Copy the result, or press Use as input to chain another transformation.
Frequently asked questions
How do I make a SQL IN list?
Use ' as the prefix and ', as the suffix, then remove the final comma.
Can I add only a prefix?
Yes. Leave the suffix empty, or the other way round.
Is Add Prefix & Suffix to Lines free and private?
Yes. Add Prefix & Suffix to Lines is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.
Related tools
Add Line NumbersNumber every line of textRemove Line BreaksJoin lines into a single paragraphWord CounterCount words, characters and sentencesCharacter CounterCharacters, words, lines and reading timeCase ConverterUPPER, lower, Title and Sentence caseUppercase ConverterConvert text to ALL CAPSLowercase ConverterConvert text to lowercaseSentence Case ConverterCapitalise the first letter of each sentence
See all text tools →