Math & Numbers
Convert numbers and text between any radix from 2 to 36, with custom alphabets and presets for Base58, Base62, and Crockford Base32.
Call this tool from your code in three languages.
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)"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/base-n-radix-converter| Name | Type | Required | Description |
|---|---|---|---|
| input | text | Yes | — |
| fromBase | number | No | — |
| toBase | number | No | — |
| preset | select | No | — |
| customAlphabet | text | No | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"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"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"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)"
}
}
}Questions or issues? Contact [email protected]
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}