Escape SQL strings online to prevent SQL injection. Properly escape single quotes and special characters for MySQL, PostgreSQL and SQLite. Free browser-based tool.
Your data never leaves your browserRelated
Escaping helps but parameterized queries / prepared statements are the correct solution. Use escaping only as a last resort when parameterized queries are not possible.