Base64 Encoder / Decoder
**Base64** is commonly used for embedding small images or transmitting binary data safely over text-based protocols.
Use as API
You can also use this tool programmatically via our REST API. Perfect for integrating Base64 encoding/decoding into your applications!
API Endpoint
POST https://toolteeno.com/api/base64Request Body
{
"text": "Hello, World!",
"mode": "encode"
}• text: String to encode or decode (required)
• mode: Either "encode" or "decode" (required)
Example Response
{
"success": true,
"mode": "encode",
"input": "Hello, World!",
"output": "SGVsbG8sIFdvcmxkIQ=="
}cURL Example
curl -X POST https://toolteeno.com/api/base64 \
-H "Content-Type: application/json" \
-d '{"text": "Hello, World!", "mode": "encode"}'JavaScript Example
fetch('https://toolteeno.com/api/base64', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
text: 'Hello, World!',
mode: 'encode'
})
})
.then(res => res.json())
.then(data => console.log(data.output));Python Example
import requests
response = requests.post(
'https://toolteeno.com/api/base64',
json={'text': 'Hello, World!', 'mode': 'encode'}
)
print(response.json()['output'])💡 Free & No Rate Limits: This API is completely free to use with no authentication required. Please use responsibly!