Database & SQL

SQL IN-Clause Builder

Paste a column of values and get a ready-to-run SQL IN list — quoted, escaped, and deduplicated. Copy the clause straight into your query. Everything runs locally in your browser, so pasted data never leaves the page.

Runs in your browser v1.0.0

Build options

live
Cleanup
Advanced options
More

Auto-detect splits on line breaks first, then commas, semicolons, tabs, or pipes — so values that contain commas stay in one piece when each is on its own line.

Your values

one per line or separated

Paste from a spreadsheet, a query result, or a list. Blank lines and duplicates are cleaned up automatically. Press Ctrl/Cmd + Enter to copy.

SQL IN clause

0 values


                

How it works

Values are split using the input format, trimmed, and optionally unquoted before being rebuilt. Text values get single quotes with embedded quotes escaped (doubled for standard SQL, backslash-escaped for MySQL and BigQuery), numbers stay unquoted in auto or number mode, and duplicates are compared on the final literal. Switch the dialect to keep placeholders correct for prepared statements, or enable bind placeholders to emit ?, $1, @p1, or :1 instead of literals. Nothing is uploaded — all processing happens in your browser.