Escape SQL values or identifiers for a selected dialect.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Values use doubled quote characters or parameter placeholders, while identifiers use a separate delimiter rule. The result is a fragment and not a complete query or authorization check.
O'Brien's "test" value
O''Brien''s ""test"" value
Seed files, migrations, and query-builder fixtures escape SQL text.