Skip to content
All tools

Encode and decode

Base64 for text and files, and escaping for JSON, JavaScript, HTML and URLs.

Format
Direction

The inside of a JSON string: quotes, backslashes and control characters escaped.

Escaped

He said \"Hello, world!\" and it's great.\nA tab:\there, a backslash: \\ and a <tag> & 👋

Runs in your browser. Nothing you paste here is sent to a server.