Number Base Converter
Convert numbers between binary, octal, decimal, hex, and arbitrary bases 2–36.
Base
🔒 Runs entirely in your browser.
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/base-converter/run \
-H "Content-Type: application/json" \
-d '{
"input": "your input here",
"fromBase": 2
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/base-converter/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"input": "your input here",
"fromBase": 2
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_base_converterFull reference: developer docs · OpenAPI spec
About this tool
Uses BigInt under the hood so it handles values well beyond Number.MAX_SAFE_INTEGER. Negative numbers are supported. The arbitrary-base field accepts radixes from 2 to 36; digits above 9 use letters a–z.
You might also like
- IP Address ConverterConvert IPv4 between dotted decimal, integer, hex, and binary notations. Compress and expand IPv6.
- CSV ↔ JSON ConverterConvert CSV to JSON or JSON to CSV with quoted fields and configurable delimiters.
- cURL ConverterParse a curl command and emit fetch, Node https, Python requests, Ruby Net::HTTP, Go net/http, PowerShell, HTTPie, and wget equivalents.
- Data Size ConverterConvert between bytes, kilobytes, megabytes, gigabytes, bits, and their binary (KiB, MiB) cousins.