Base64 Encoder & Decoder
Encode and decode text with Base64.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Encode and decode text with Base64.
Decode JWT tokens to inspect header and payload claims.
Format, minify, and validate JSON with optional key sorting.
Compare two JSON documents and list structural differences.
Format, minify, and validate XML with readable indentation.
Compare two XML documents and list structural differences.
Generate UUIDs for apps, tests, and databases.
Create compact short links for long URLs.
This text to Base64 converter encodes strings for HTTP headers, JSON fields, and Basic auth examples. Paste UTF-8 text, get Base64 output, and copy into Postman, curl, or your application code.
Basic auth uses Base64 of `username:password`—still send over HTTPS only.
Large files should use dedicated file Base64 tools rather than pasting megabytes into a text area.
Paste or type text, click encode, copy Base64 output. Use decode mode to reverse the operation.
Example: encode `user:password` to Base64 for an HTTP Basic Authorization header example in documentation.
Choose Encode or Decode, then paste or type text. Encoding converts UTF-8 text to standard Base64. Decoding accepts standard or URL-safe Base64 (with optional whitespace) and returns the original text. All processing runs on your device.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your data stays on your device and is not uploaded.
These pages use the same base64 encoder & decoder with guides tailored to specific search intents.
FAQ
Yes for UTF-8 text. Encoded output represents the UTF-8 byte sequence.
Some tools wrap long Base64 lines. Remove whitespace if your parser rejects wrapped strings.
Invalid characters or padding show an error instead of garbage text.
Page last reviewed: