Skip to content
Tools / Encode & decode / 06

Base64 & URL

Runs locally · nothing uploaded

Encode and decode Base64 and URL text or files, with a data URI mode for images.

Output

The base64 encode result appears here as you type.

Waiting for inputBase64 encode
How it works

Text is encoded as UTF-8 first, so accents and emoji survive the round trip. Decoding accepts both the standard and the URL-safe alphabet, with or without padding, and points at the first invalid character.

When decoded bytes are not text, the tool says so, previews images and offers a download instead of printing garbled characters. Files are read in this tab and never uploaded.

URL mode encodes a query value, a whole URL or form data, where spaces become +.

Shortcuts
Ctrl↵
Run
C
Copy the result (outside the editor)
CtrlK
Jump to another tool
?
All shortcuts