Convert a list without retyping punctuation
Paste one value per line, choose the output format, and copy or download the result. Trim spaces is optional, while blank lines are skipped initially. Duplicate entries remain in order. Turn off Skip blank lines when an empty string is meaningful. Numeric-looking identifiers remain strings, so codes such as 00123 keep their leading zeroes.
Choose the format your next task needs
JSON array produces a valid array of strings with escaped backslashes and quotation marks. Comma-separated CSV produces one record whose fields are all quoted; quotes inside values are doubled. Quoted lines uses one JSON string literal per line. SQL IN values produces parenthesized, single-quoted strings and doubles apostrophes. It does not produce a complete SQL query.
Review the output before using it
This tool treats every line as one value. It does not parse pasted multi-column CSV input or infer numbers, booleans or nested JSON objects. Copy a single spreadsheet column first. SQL syntax differs by database; use bound parameters in production application queries. An empty SQL list is not a valid IN expression. Use the dedupe tool first if you need unique values.
Keep the work private
This tool runs in the browser tab you are using. No account is required and your text is not submitted to a server. The result exists only on this device, so copy or download it before closing the page.
Frequently asked questions
Are numbers converted to JSON numbers?
No. Every item remains a string. A line containing 001 becomes "001", preserving its leading zeroes. This also prevents accidental conversion of long account codes or numeric-looking identifiers. If the destination requires actual numbers, make that type conversion explicitly in the destination.
How are commas and quotes handled in CSV?
Every output field is enclosed in double quotes. A double quote inside a value is doubled, so a comma or quotation mark can remain part of one field. The output is one CSV record; paste it into a CSV-aware destination rather than splitting the raw string on every comma.
What does quoted lines mean?
Each input line becomes a separate JSON string literal. Quotes, backslashes and control characters are escaped using JSON rules. The result has one quoted string per line, without an enclosing array or separating commas, so it is not itself one complete JSON document.
Does SQL output include a complete query?
No. It contains parenthesized, single-quoted string values only. It does not add a table, column, SELECT statement or IN keyword. Apostrophes are doubled, but database-specific behavior still matters. Use parameterized queries in application code instead of treating generated text as a security boundary.
Can I preserve empty lines?
Yes. Turn off Skip blank lines to keep empty string items. One final newline is treated as a file delimiter rather than an extra item. For SQL, an entirely empty list is not a valid IN expression; handle that condition explicitly before running a query.
Does the list converter preserve duplicates and spaces?
Duplicates remain in their original order. Leading and trailing spaces remain unless Trim spaces is enabled; internal spaces are preserved. If you need unique items, use the dedupe tool first and review its matching rules before formatting the resulting list.
Can I paste a whole spreadsheet or CSV table?
Use one column with one value per line. This tool does not parse spreadsheet workbooks or multi-column CSV records. A row containing several comma-separated cells is treated as a single string value. Select the desired column first to avoid wrapping a complete row unintentionally.
Can I copy and download the complete output?
Yes. Copy and TXT download use the full generated output rather than a shortened list of items. The selected output format determines the text inside the download. If another application expects a .json or .csv filename, save or rename the reviewed file with the corresponding extension.