Example
This input:
apple
banana
cherry
O'Brien gives this output with the settings on this page:
'apple', 'banana', 'cherry', 'O''Brien' Quote each value in one step
Paste the column and the quoted list appears. For example, apple, banana and cherry become 'apple', 'banana', 'cherry'. You do not need a formula or a find and replace.
Spaces around each value are trimmed first, so a pasted cell like " apple " does not end up with spaces inside the quotes.
Apostrophes inside values
A single quote inside a value would break the list, so the tool doubles it. O'Brien becomes 'O''Brien'. This is the rule for SQL and for CSV. If you write Python and want a backslash instead, use the JSON array setting on the JSON array page.
Leave numbers bare
Tick Do not quote numbers if your column holds IDs and you want 1001 instead of '1001'. Values with leading zeros keep their quotes. If your column mixes numbers and text, the numbers stay bare and the text gets quotes.