Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

Base64 encode and decode

Encode text or any file to Base64 and decode Base64 back to text or the original file, with a URL-safe option.

Runs in your browserNothing uploadedWorks offline
Loading Base64 encode and decodeRuns on this device. Nothing is uploaded.

Questions

What does URL-safe mean?

URL-safe Base64 (base64url, RFC 4648 section 5) uses - and _ instead of + and / and drops the = padding, so the result can sit in a URL or a JWT without escaping. Decoding here accepts both forms.

Can I turn a Base64 string back into an image or PDF?

Yes. Paste the Base64 (or a full data: URL) in Decode mode. If it is not text, the tool detects common file types such as PNG, JPEG, GIF, WebP, PDF and ZIP from their first bytes and offers the file for download.

Why is the Base64 bigger than my file?

Base64 writes every 3 bytes as 4 characters, so the output is about a third larger than the input.

Are my files uploaded?

No. Encoding and decoding happen in your browser, and big files are handled in a background worker.

All developer tools

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.