Encode

Encode and decode base64, URL escaping and JSON string escaping, in both directions.

Runs in your browser — nothing you type here is sent anywhere.
Input
Output
Output appears here.

The everyday encodings, in one place, with the distinctions that matter kept clear: base64 against base64url, encoding a whole URL against encoding a single component.

Paste anything and convert either way. Invalid input is reported rather than silently producing nonsense, which is the usual failure mode when a base64 string has been truncated.

What people open it for

In the terminal

b64 encode hello

Every utility is also a command in the desktop's shell.

More text tools

Open the full desktop, with all 47 utilities