Paste a MySQL query, choose indentation and keyword case, and format it. The query is never executed.
Text tools
Format, clean up, and transform text.
Browser-local
⌘↵Run with Ctrl / ⌘ + Enter
Input
1
JSON
Output
1
Your result will appear here.
Good to know
Text, made readable.
Escape wraps text as a JSON string. Unescape removes one layer at a time; actual line breaks and escaped \n are different.
URL mode encodes or decodes a URI component. A plus sign stays a plus sign when decoding.
MySQL mode formats SQL; it does not execute queries or validate your database schema.
Time tools
A clear view of time, anywhere.
Browser-local
World clocks
Current timestamp
Source time
Source timezone
This local time occurs twice when daylight saving time ends.
Converted time
Input changed. Convert again to update the result.
Unix seconds
Unix milliseconds
ISO 8601 · UTC
Daylight saving time is applied automatically for the selected date.
How to use
Paste a MySQL query, choose indentation and keyword case, and format it. The query is never executed.
Example
select id, name from users where active = 1 order by id desc;
Notes & limits
MySQL mode formats SQL; it does not execute queries or validate your database schema. Maximum input: 500,000 characters. Syntax highlighting is disabled above 100,000 characters.
All processing takes place in your browser. No account or file uploads are needed.