Base64

Encode and decode Base64 for text, images, files, and HTTP Basic Auth headers.

Text Base64

Encode and decode text to/from Base64. Supports standard and Base64URL variants with auto-detection.

Report a problem

Mode
Variant

About Base64

Encode text or files as Base64 and decode Base64 back to text or bytes.

Choose the text/file/image workflow and the appropriate alphabet before converting.

Copy text results or download decoded bytes; inspect the output type before opening a file.

The calculation or rendering runs in this browser tab. Copy, download and share actions make the chosen output available outside this tab.

Worked example

Input / settings
Hello
Action
Encode UTF-8 text
Result
SGVsbG8=

Scope and limits

  • Files are limited to 10MiB. Invalid alphabet, padding or UTF-8 text produces an error and clears the old result. Auto detection cannot distinguish alphabets when the input contains only their shared characters.

Frequently asked questions

Does Base64 protect a secret?
No. It is reversible encoding, not encryption. Anyone with the output can decode it.

For account, sync, advertising and analytics data flows, see the Privacy Policy.