Quote list items

Paste a list and wrap every line in your chosen quote character. Default is `"` (double). Switch to `'` (single) or `` ` `` (backtick) for Python string literals, shell args, or Markdown code spans.

Input
Ready
Output
Live

Three quote styles, applied line by line

The Quote select offers three characters: `"`, `'`, and `` ` ``. The chosen character is placed at the start and end of every line. Content between the quotes is emitted verbatim - existing quote characters inside a line are not escaped, doubled, or stripped.

Because escaping is not applied, this tool is a formatter, not a serializer. If your items contain quote characters that need escaping (e.g. `O'Brien` for single-quoted output), use Replace first to escape or strip them.

To strip quotes later, use Unquote which removes a single matched pair of `"`, `'`, or `` ` `` from each line. For comma-separated output wrapping, see Add quotes around items.

How to use quote list items

  1. 1Paste your list into the input panel
  2. 2Pick Quote: Double (`"`), Single (`'`), or Backtick (`` ` ``)
  3. 3Output wraps every line - `line` becomes `"line"` (or your chosen character)
  4. 4Blank lines also get wrapped - an empty line becomes `""`
  5. 5Use Unquote to reverse

Keyboard shortcuts

Drive ListShift without touching the mouse.

Shortcut Action
Ctrl ZUndo last input change
Ctrl Shift ZRedo
Ctrl Shift EnterToggle fullscreen focus on the editor
EscExit fullscreen
Ctrl KOpen the command palette to jump to any tool
Ctrl SSave current pipeline draft Plus
Ctrl PRun a saved pipeline Plus

What this tool actually does

One option, applied to every line.

Three quote characters

Double (`"`), single (`'`), or backtick (`` ` ``). Same character is used at both ends. The Quote select is the only control.

No escaping

Existing quote characters inside a line are not escaped, doubled, or stripped. `O'Brien` with single-quote mode produces `'O'Brien'` - technically malformed for Python, by design.

Every line wrapped

Including blank lines. An empty line becomes a pair of quotes (e.g. `""`). Chain Remove empty lines first if that matters.

Reversible

Unquote strips one matched pair of `"`, `'`, or `` ` `` from each line. Unmatched or nested quotes are left alone.

For import-ready output

For CSV-style or SQL `IN (...)` output with commas between quoted items, use Add quotes around items then Join.

Worked example

Default double-quote mode.

Input
apple
banana
cherry
Output
"apple"
"banana"
"cherry"

Settings reference

How each Quote choice shapes the output using the sample above.

Setting What it does Effect on the sample
Quote: Double (default) Wraps each line in `"…"` `"apple"` / `"banana"` / `"cherry"`
Quote: Single Wraps each line in `'…'` `'apple'` / `'banana'` / `'cherry'`
Quote: Backtick Wraps each line in `` `…` `` `` `apple` `` / `` `banana` `` / `` `cherry` ``
Blank-line behaviour (automatic) Blank lines become a pair of quotes An empty line becomes `""` (or `''`, or `` `` ``)

FAQ

Which quote characters are supported?
Three: double (`"`), single (`'`), and backtick (`` ` ``). Pick from the Quote select.
Does the tool escape existing quotes inside a line?
No. Content is wrapped verbatim - no doubling, backslashing, or stripping. If your output targets a strict parser (Python, JSON, SQL), sanitize the input first with Replace.
What happens to blank lines?
They get wrapped too, producing a pair of quotes (e.g. `""`). Run Remove empty lines first to drop them.
How is this different from Add quotes around items?
Add quotes around items uses the same op but is framed around CSV / SQL-import prep (paired with Join for comma-separated output). This tool is the plain per-line wrapper.
How do I remove the quotes later?
Use Unquote - it strips one matched pair of `"`, `'`, or `` ` `` from each line.