About Quote-Wrap Lines
Quote-Wrap Lines wraps each line in matching quote characters — single, double, or backtick. The same character is used on both sides, so each line becomes `'value'`, `"value"`, or `` `value` ``. The line count is preserved exactly.
This is the per-line equivalent of pressing *Wrap with quotes* in your editor. Common targets: building a comma-separated list of string literals for a programming language, quoting cells for a CSV column, preparing values for a SQL `IN` clause, or escaping bare words so a shell does not split them on whitespace. It is a special case of Add Prefix / Suffix where prefix and suffix are the same character; reach for that more general tool when you need different opening and closing strings — for example, French guillemets `«…»`, smart quotes `“…”`, or HTML attribute syntax with an extra suffix character.
Examples
alice
bob
charlie"alice"
"bob"
"charlie"Double-quote selected. Pair with Lines → Delimited String to produce a single comma-separated string of quoted values.
Frequently asked questions
Will it escape existing quote characters inside a line?
No. Quote-Wrap is a literal wrapper — if a line contains a `"`, the output is `"…"…"`, which is not a valid string literal in most languages. For JSON-aware quoting that escapes embedded quotes, use Lines → JSON Array.
How is this different from Add Prefix / Suffix?
Add Prefix / Suffix lets the start and end strings differ. Quote-Wrap uses the same character on both sides. Use this when symmetric quotes are what you want; use Add Prefix / Suffix when they are not.
Why three quote choices?
Because the right quote depends on the destination: SQL prefers single quotes, JSON requires double quotes, and Markdown or shell command interpolation often uses backticks. Pick the one that matches the next consumer of the output.
Will blank lines be wrapped?
Yes — every line is wrapped, so a blank line becomes a pair of quotes around nothing (`""`). Run Remove Blank Lines first if that is not what you want.
