Base64-encode text without sending it to a random converter
Need a Base64 body or data URI fragment? Paste UTF-8 text, get standard or URL-safe Base64. Binary file upload can be a later enhancement — v1 focuses on text via `TextEncoder`.
chars: 17
When to use
Debugging Basic-auth-ish strings, embedding small payloads, or teaching the alphabet — on non-secret samples.
Examples
How it works
UTF-8 bytes → Base64 (btoa-safe chunking / Web APIs). Optional URL-safe alphabet and padding trim.
Common pitfalls
- Base64 is encoding, not encryption.
- URL-safe uses -_ and may drop = padding.
- Binary files need a byte path — don’t mojibake text first.
How this differs
Encode here; Decode reverses. JWT Decode peeks at token parts (also base64url) but is not a general encoder.
FAQ
Is Base64 encryption?
No — encoding only, reversible.
What about images?
Use a file→Base64 flow if present; otherwise convert elsewhere.
UTF-8 emoji?
Yes via TextEncoder.
Reverse?
Base64 Decode.
Related tools
Runs in your browser. Nothing is uploaded. Not a security product —hashes and JWT decode are for debugging, not password storage or auth advice.