Math & Numbers
Base-N Radix Converter
Convert numbers and text between any radix from 2 to 36, with custom alphabets and presets for Base58, Base62, and Crockford Base32.
text· Text resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/base-n-radix-converter' \
-H 'Content-Type: application/json' \
-d '{"input":"FF","fromBase":16,"toBase":10,"preset":"none","customAlphabet":"e.g. ABCDEFGHJKMNPQRSTVWXYZ (unique chars; length = base)"}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/base-n-radix-converterParameters
| Name | Type | Required | Description |
|---|---|---|---|
| input | text | Yes | — |
| fromBase | number | No | — |
| toBase | number | No | — |
| preset | select | No | — |
| customAlphabet | text | No | — |
Response format
MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
mcp.json
{
"mcpServers": {
"elysiatools-base-n-radix-converter": {
"name": "base-n-radix-converter",
"description": "Convert numbers and text between any radix from 2 to 36, with custom alphabets and presets for Base58, Base62, and Crockford Base32.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=base-n-radix-converter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "base-n-radix-converter",
"arguments": {
"input": "FF",
"fromBase": 16,
"toBase": 10,
"preset": "none",
"customAlphabet": "e.g. ABCDEFGHJKMNPQRSTVWXYZ (unique chars; length = base)"
}
}
}Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).
Questions or issues? Contact [email protected]