Base64 Encoder & Decoder
Encode or decode UTF-8 text and files using standard Base64 or URL-safe Base64URL locally.
How to use
- 01.
Switch between Encode and Decode modes (or drop a small file to encode its bytes).
- 02.
Toggle URL-safe Base64URL when working with JWT segments or URL parameters.
- 03.
Inspect byte sizes and copy the result immediately from browser memory.
UTF-8 accurate Base64 for tokens, headers, and configs
JavaScript’s legacy btoa()/atob() functions crash on non-Latin characters like Cyrillic, CJK, or emoji and reject unpadded Base64URL strings from JWTs.
ArjenSoft encodes via TextEncoder/TextDecoder over Uint8Array bytes, handling full Unicode cleanly alongside RFC 4648 Base64URL normalization — strictly locally so API tokens and auth headers are never sent over the network.
Limits & privacy
- Handles Cyrillic, Unicode, and emoji losslessly via UTF-8 byte encoding.
- Automatically normalizes missing "=" padding when decoding Base64URL.
- Zero logging or server transmission of decoded payloads.
Frequently asked questions
What is the difference between Base64 and Base64URL?
Base64URL replaces + and / with - and _ and omits trailing = padding so encoded strings can be placed safely inside URLs and JSON Web Tokens (JWTs).
Is Base64 encryption?
No. Base64 is a reversible text encoding for binary data — anyone can decode it immediately. Never treat Base64 alone as security.