← All tools

Development / HXD Labs

Base64 encoder and decoder

Encode or decode text in your browser, including accented characters and emoji; Base64URL and local files are supported too.

Result

Fill in the fields to see the result.

How to use

Choose UTF-8 text or a file up to 1 MB to encode. The tool also supports Base64URL and lets you download decoded bytes. Base64 is reversible encoding, not encryption; do not use it to protect secrets.

How it works

TextEncoder turns text into UTF-8 bytes before Base64 encoding. TextDecoder reconstructs the text and catches invalid UTF-8 on decode.

Example

The word “café” can be encoded and decoded without losing the accent because the conversion uses UTF-8.

Good to know

Anyone can decode Base64. Confidential data needs proper encryption, which this page does not provide.