🔄

Base64 Encoder/Decoder API

Encode and decode Base64 data via API. Supports text, URLs, and file content. Perfect for data transformation workflows.

API Endpoint

POST /v1/base64

Parameters

Name Type Required Description
datastringYesData to encode or decode
actionstringNoAction: encode or decode (default: encode)

Quick Example

curl -X POST "https://api.toolcenter.dev/v1/base64" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": "Hello, World!", "action": "encode"}'

Features

  • Encode and decode operations
  • URL-safe Base64 variant
  • Large payload support
  • UTF-8 and binary data handling
  • Automatic format detection

Use Cases

Encode data for API payloads

Decode Base64 strings in automation

Convert images to data URIs

Handle encoded webhook payloads

Start Using Base64 Encoder/Decoder API for Free

500 free API calls per month. No credit card required.

Get Started Free