Code & Data
Base64 encode / decode
Encode text to Base64 or decode it back, UTF-8 safe, with optional URL-safe output.
- 1Fill in the values
- 2Click Run
- 3See results instantly
Limits
- Text only. Decoded bytes must be valid UTF-8; binary data (images, files) is reported as an error rather than shown garbled.
- Base64 is an encoding, not encryption. Anyone can decode it.
Ask the AI chat
The AI chat can run this tool for you. Try:
- “base64 encode hello world”
- “decode base64: SGVsbG8=”
- “encode to base64: héllo”