Base64 to Image Converter
Convert Base64 encoded images back to image files with support for various formats
API Documentation
Request Endpoint
POST /en/api/tools/base64-to-image
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| base64Data | text | Yes | - |
| outputFormat | select | Yes | - |
| autoDetectFormat | checkbox | No | - |
Response Format
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
File:
File
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-base64-to-image": {
"name": "base64-to-image",
"description": "Convert Base64 encoded images back to image files with support for various formats",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=base64-to-image",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]