FlowToolkit
Dev

Base64 Encoder / Decoder

Encode and decode Base64 text and files, with optional URL-safe variant.

Loading tool…

About this tool

Encode plain text to Base64 or decode Base64 back to text, with UTF-8 safety. Encode binary files to base64 data URLs for inlining. Toggle URL-safe encoding (base64url with `-` and `_`, no padding) for tokens and JWTs.

Frequently asked questions

What does URL-safe mean?

`+` becomes `-`, `/` becomes `_`, padding `=` is stripped. Required for tokens that travel in URLs.

Can I encode an image to base64?

Yes — click "Encode file…" to get a `data:` URL ready to inline.