Paste text or Base64, switch modes, copy the result, and keep the whole conversion in the browser.
Converted output
SGVsbG8gQXBwSGVscA==
Quick answer
Base64 converts binary or text data into an ASCII-safe representation that can travel through JSON, URLs, email, and configuration files. This tool encodes UTF-8 text to Base64 and decodes Base64 back to readable text locally in the browser.
How to use
1. Choose encode or decodeUse encode mode for plain text that needs a transport-safe representation. Use decode mode for a Base64 value copied from an API, config, token payload, or log.
2. Paste the inputPaste text or Base64 into the input field. Unicode text is converted through UTF-8 so non-ASCII characters can round-trip.
3. Copy or reuse the outputCopy the result, or use it as the next input to confirm that encoding and decoding preserve the original text.
Examples
Text to Base64
Input
Hello AppHelp
Output
SGVsbG8gQXBwSGVscA==
Base64 to text
Input
5L2g5aW9
Output
你好
UTF-8 decoding preserves Unicode text.
JSON value
Input
{"status":"ok"}
Output
eyJzdGF0dXMiOiJvayJ9
Common use cases
Encode small text snippets for JSON, YAML, environment variables, or test fixtures
Decode Base64 payloads from API responses, logs, and debugging notes
Check whether a copied Base64 string represents readable UTF-8 text
Create transport-safe examples for documentation without sending content to a server
Edge cases
Base64 is an encoding, not encryption; anyone can decode it
Padding with = characters is normal and may be required by strict decoders
Base64URL replaces + and / with URL-safe characters and may need a different decoder
Large files are not the target for this text tool; use a file-focused converter when needed