Base64
Encode and decode Base64 text
Enter text, then encode or decode. Runs in your browser.
How to use this tool as an API
GET and POST. mode is encode or decode. UI can also run locally. GET query strings can be logged or cached — prefer POST for secrets.
GET, POST /api/base64
Params: str, mode
Example
GET /api/base64?str=hello&mode=encode
POST /api/base64
Content-Type: application/json
{"str":"hello","mode":"encode"}