How to Add Quotes Around Each Line in a List
Wrapping every line of a list in quotes by hand means clicking to the start of each line, typing a quote, clicking to the end, typing another - for a hundred-line list that's two hundred manual edits. It's a one-step operation instead.
Quick answer
Paste your list into Text Fixer and set Output Format to Single Quoted, Double Quoted, or Backtick Quoted. Every non-blank line gets wrapped in that quote character, one item per line, with any quote characters already inside a line automatically escaped so the output stays valid.
Quote-wrap your list now. Free, nothing to install.
Open Text Fixer →How to quote-wrap a list in 2 steps
- Paste your list into Text Fixer, one item per line.
- Open Output Format and choose Single Quoted ('), Double Quoted ("), or Backtick Quoted (`) - the output updates instantly with every line wrapped.
What this looks like
A plain list like this:
apple banana O'Brien
wrapped as Double Quoted becomes:
"apple" "banana" "O'Brien"
A line which already contains the same quote character used to wrap it (like O'Brien above under Single Quoted) gets that internal quote automatically escaped with a backslash, so the output stays valid to paste into code or a query rather than breaking on the embedded character.
One quoted value per line, not a comma-separated clause
This produces one quoted item per line, which is what you want for pasting into a script that reads line by line, or building a code array manually. If what you actually need is a single comma-separated line, like a ready-to-paste SQL IN (...) clause, that's a different output - see the guide to converting a list into a SQL IN clause for that specific format, built with the List to Format Converter tool instead.
Need to add different text, not quotes?
Text Fixer can prepend or append any custom text to every line, not just quote characters.