Base64 Encoder.

Encode or decode Base64 text instantly in your browser. Nothing is sent to any server.

Switch between Encode and Decode tabs to convert plain text to Base64 or Base64 back to readable text. Useful for encoding API tokens, creating data URIs, and debugging encoded strings — all without sending data to any server.

How to use

Choose Encode or Decode from the tabs at the top. Paste or type your input and the result appears immediately. Click Copy to copy the output to your clipboard.

Examples

Encode: Hello, World! SGVsbG8sIFdvcmxkIQ==
Encode: smpl.tools c21wbC50b29scw==
Decode: dXNlcjpwYXNzd29yZA== user:password

FAQ

What is Base64 used for?

Base64 encodes binary data as plain ASCII text. Common uses: data URIs (embedding images in CSS/HTML), encoding email attachments, storing binary in JSON, and passing data in URLs.

Why does my decoded output look wrong?

Base64 strings must have correct padding (= or == at the end). If the input is truncated or corrupted, decoding will fail or produce garbled text.

Is Base64 secure for hiding sensitive data?

No. Base64 is encoding, not encryption. Anyone who sees the encoded string can decode it instantly. Never use Base64 to hide passwords or secrets.

Related tools

Privacy and data handling

This tool runs entirely in your browser. Nothing you type or paste is sent to any server — all processing happens locally on your device.