The Decode Base64 API helps you convert Base64-encoded content back into regular, readable text. Base64 is often used when data like text or images are stored in a compressed format. If you’ve ever copied a weird-looking string full of random characters and wondered what it means—this tool can decode it for you!
How to Use It
To use the Decode Base64 API, you’ll need to send a special request that includes the content you want to decode.
- API URL:
https://node.nodetrigger.com/api/decode-base64
- Method: POST
- Content Type: application/json
What You Should Send
Send a simple message with just one field:
Field Name | Type | Required | Description |
---|---|---|---|
data | String | ✅ Yes | The Base64 text you want to decode |
Example request:
{
"data": "SGVsbG8sIHdvcmxkIQ=="
}
What You’ll Get Back
The API will reply with the decoded version of your message:
Example response:
{
"decoded": "Hello, world!"
}
If Something Goes Wrong
If you don’t include the required field or use an invalid Base64 string, the API will let you know with an error message.
Error Code | Message | What It Means |
---|---|---|
400 | Missing required field | You forgot to include “data” |
400 | Invalid base64 input | The input wasn’t valid Base64 |
Good to Know
- This API is perfect if you’re working with tools that export data in Base64 and you just want to see what it really says.
- Works great with any text-based Base64 string—no tech skills required!