Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 back to text, with UTF-8 handling and a URL-safe base64url option.
Base64 Encoder/Decoder
Encoded: 80 characters
Updated . Provided as is. Check the output before you rely on it in production.
How to use Base64 Encoder/Decoder
- 1
Choose Encode or Decode
Pick the direction. Encode turns text into Base64; Decode turns Base64 back into text.
- 2
Paste your input
Paste the text or Base64 string. The result appears as you type.
- 3
Use URL-safe mode when needed
Turn on URL-safe to get the base64url variant, which uses - and _ instead of + and /, for tokens and URLs.
- 4
Swap and copy
Swap moves the output into the input and flips the mode, which makes round-trip checks quick. Copy the result when you are done.
Questions and answers
What is Base64 Encoder/Decoder?
What is Base64 encoding used for?
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/base64/
For automation planning, fetch the canonical contract at /api/tool/base64.json.