Base64 Encoder & Decoder

Convert UTF-8 text or a small local file to and from Base64. Choose standard or URL-safe output; your data stays in this browser.

Gustavo, the stone gargoyle mascot, head and shoulders with a knowing grin
Direction

UTF-8 text is encoded or decoded locally in your browser.

Input: 0 bytes · Output: 0 bytes

Notes

Text encoding uses UTF-8 bytes, so accents, emoji, and other Unicode characters round-trip correctly. URL-safe Base64 replaces + and / with - and _ and omits padding.

File mode accepts files up to 5 MB and can produce raw Base64 or a data URI. Encoding and decoding happen locally; input is not uploaded or saved in browser storage.

Frequently asked questions

Does Base64 support accents and emoji?

Yes. Text is converted through UTF-8 bytes before Base64 encoding and decoded back to UTF-8, including accented characters, emoji, and CJK text.

What is URL-safe Base64?

Base64URL uses - and _ instead of + and / and typically omits trailing = padding, which makes the value safer to place in URLs and tokens.

Is my text or file uploaded?

No. Conversion runs in your browser. Text and files are not sent to a server or saved in browser storage.