String Escape Online

Notes: JSON requires escaping quotes, backslashes, and control characters. Optionally, you can escape all non-ASCII as \uXXXX. U+2028 and U+2029 are escaped for safe embedding in inline <script> tags.