Developer utility

Base64 Encoder & Decoder

Encode and decode UTF-8 text, URL-safe Base64, hexadecimal text, and bounded local files in your browser. Processing is designed to stay local; runtime privacy verification remains a release gate.

Text input is limited to 100,000 UTF-16 units. Encoded output is limited to 200,000 units.

Encode converts UTF-8 text to the selected format. Decode converts selected-format bytes back to UTF-8 text and rejects invalid UTF-8. Whitespace is never ignored.

Encode a local file
No file selected

Files are read locally only and limited to 150,000 bytes. The selected format determines the encoded text.

How to use Base64 Encoder & Decoder

Choose Standard Base64 for the padded +// alphabet, Base64URL for the unpadded -/_ alphabet, or Hexadecimal for a readable byte representation. Encode and Decode always use the selected format.

VEERAMALLA → VkVFUkFNQUxMQQ==

UTF-8 makes emoji and non-Latin text round-trip correctly. File controls use the browser File API and never upload, preview, execute, or automatically open decoded bytes. Base64 is encoding, not encryption.

Frequently asked questions

Is Base64 encryption?

No. Base64 represents bytes as text and provides no confidentiality. Anyone with the encoded value can decode it.

What is the difference between Base64 and Base64URL?

Standard Base64 uses +, /, and normally padding. Base64URL uses - and _ and this tool emits and accepts it without padding. The modes must not be mixed implicitly.

Why did decoding fail?

Invalid characters, incorrect padding, whitespace, odd-length hex, and bytes that are not valid UTF-8 are rejected instead of guessed. Check that the selected format matches the input.

Can I decode a file here?

Download decoded bytes is an explicit local action using a fixed binary filename. The tool does not render or execute the result. File size and output bounds still apply.

Does this tool support image or PDF previews?

No. Specialized previews, MIME-specific conversions, and external processing are intentionally not part of this implementation.

Related tools: URL Encoder & Decoder, JSON Formatter & Validator, and JWT Decoder.