Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to text instantly. Supports URL-safe mode and file encoding. Nothing leaves your browser.
Text input0 chars
↓
Base64 output0 chars
File to Base64 data URI
Drop a file here or click to select
REST API
curl -X POST https://hatchloop.dev/api/tools/base64 \
-H "Content-Type: application/json" \
-d '{"text":"hello world","action":"encode"}'
# → {"result":"aGVsbG8gd29ybGQ=","action":"encode"}