Free tool

Add quotes to each line

Add quotes to each line: "double", 'single' or `backticks`, or brackets. Quotes already inside a line can be doubled (for SQL) or escaped with a backslash.

The example is loaded. Paste your own list to replace it.

1
Wrap in quotes or brackets

→ 3 lines

Wrap in

Quotes already inside a line

Skip empty lines

Your text

3 lines

Result

3 lines

What it does

Put "quotes", (brackets) or similar around each line.

Settings you can change

  • Wrap in: Double quotes "a", Single quotes 'a', Backticks `a`, Brackets (a), Square brackets [a], Braces {a}
  • Quotes already inside a line: Leave them, Double them ('' for SQL), Add a backslash (\")
  • Skip empty lines

When to use it

Make a list of names safe to paste into a CSV or a database query, even when a name has an apostrophe.

Example: add quotes to each line

Settings used: Wrap in: Single quotes 'a'; Quotes already inside a line: Double them ('' for SQL).

Input

Result

Often used with

Turn the list into one line, like a, b, c.

Put the same text at the start or end of every line.

Turn & into & (or the other way round).

All free tools

Your text stays on this computer
The list editor works on your computer. The text you paste or open is not uploaded or stored by HeyScraper, and closing the page clears it. Saved recipes are kept in this browser only.

Got your list from a web page?

HeyScraper turns the page you’re on into a spreadsheet, so you can skip the copying and pasting. Free: 500 pages a month.

Get HeyScraper