SQL String Escape
Escape a string value for MySQL, PostgreSQL, SQLite, or MSSQL (T-SQL). Shows both the escaped form and the fully-quoted literal. For reference and testing only — always use parameterized queries in production code. Runs in your browser.