Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text. Base64 encoding converts binary data to ASCII text, commonly used for embedding data in URLs, emails, HTML, and API payloads. The tool supports standard Base64 encoding.
returns
- data.output
- The encoded or decoded string.
- data.data_uri
- Decoded binary as a data URI, only when is_binary is true.
- data.is_binary
- On decode, true when the result isn't valid UTF-8 text.
- data.mime_type
- Detected type of binary output, like image/png.
- data.output_length
- Length of the result in bytes.
Fill in the fields and send a request. The response lands here.
Run it from your code
A temporary key takes one request and lasts seven days at 20 calls a day. Register and it becomes 75 a day, still free.
$ curl -sX POST "https://apixies.io/api/v1/base64" \ -H "X-API-Key: $APIXIES_KEY" \ -H "Content-Type: application/json" \ -d '{"input":"Hello, World!","action":"encode"}' | jq '.data.output' "SGVsbG8sIFdvcmxkIQ=="
questions
Is Base64 encryption?
No. Base64 is an encoding scheme, not encryption. It converts data to a text-safe format but provides zero security. Anyone can decode Base64 trivially. Never use it to protect sensitive data.
Why is the Base64 output longer than the input?
Base64 encodes 3 bytes of data into 4 ASCII characters, resulting in roughly 33% size increase. This is the trade-off for having a text-safe representation of binary data.