dev utility

Base Encoder — Base64, Base64URL & Base32

Encode or decode Base64, URL-safe Base64 and RFC 4648 Base32 locally, with invalid-input errors. Not encryption.

Encode Base64 or Base32

Encode or decode Base64, URL-safe Base64 and RFC 4648 Base32 locally, with invalid-input errors. Not encryption.

How it works

One local text encoding tool for Base64, URL-safe Base64 and RFC 4648 Base32. Choose the alphabet and direction; invalid input is rejected rather than guessed. Encoding adds no confidentiality. Files use the Base64 File Encoder.

Limits

Questions

Can I decode binary files here?

This text tool expects UTF-8 text. Use the Base64 File Encoder for arbitrary binary bytes; it avoids treating binary data as text.

Does URL-safe Base64 work?

Yes. Enable the URL-safe alphabet to use - and _ instead of + and /, with padding handled explicitly.

Privacy

Approved improvement measurement records coarse event counts only: page ready, task started, completed, export requested and a generic failure class. It never records filenames, file contents, text, output, full URLs or a visitor ID. You can turn measurement off for this hostname below.