SQL IN Clause Builder

Paste a column of values from Excel and get a ready SQL IN list, with quotes and escaping done for you.

How it works

Paste a column of values from Excel and get a ready SQL IN list, with quotes and escaping done for you.

Worked example

Pasting 101, 102, 103 gives IN (101, 102, 103). Text values become IN ('a', 'b').

Common questions

How many values can an IN list hold?
It depends on the database. Some limit the list size, so split very long lists.
Are quotes in values safe?
They are doubled, which is the SQL way to escape a single quote.
Is it uploaded?
No. Everything runs in your browser and nothing leaves your device.

More in Data.