Back to Tool
🔐

Base64 Encoder/Decoder API

Encode or decode Base64 strings programmatically

Endpoint

POST/api/v1/base64-encoder

Authentication

Include your API key in the request header:

X-API-Key: your_api_key_here

Get your API key from the Dashboard

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
textstringYesThe text to encode or Base64 string to decode
actionstringYes"encode" or "decode"

Response

FieldTypeDescription
successbooleanWhether the operation was successful
resultstringThe encoded/decoded string

Code Examples

curl -X POST https://tools.shubhambadgujar.com/api/v1/base64-encoder \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello World", "action": "encode"}'

Pricing

$0.0010 per call

Get API Key

Rate Limits

  • • 100 requests per minute
  • • 10,000 requests per day
  • • Max request size: 10MB

Need Help?

Contact us at support@shubhambadgujar.com