Choose escape to create a JSON string literal, or unescape to decode one quoted JSON string. Repeat only when you intentionally need another layer.
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
Choose escape to create a JSON string literal, or unescape to decode one quoted JSON string. Repeat only when you intentionally need another layer.
Example
"Hello\nworld!"
Notes & limits
Escape wraps text as a JSON string. Unescape removes one layer at a time; actual line breaks and escaped \n are different. 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.