Illustration of a number converting between binary, decimal, and hex representations

Binary ↔ Decimal ↔ Hex Converter

Type a number into any field — the other two update live. Supports arbitrary-precision integers (not limited to 64 bits), and an optional 0b/0x prefix on input. Runs entirely in your browser.


💻 Show API usage examples (cURL)
curl -sS -X POST https://devops.majbase.com/base-converter/api -H "Content-Type: application/json" -d '{"value":"255","base":"decimal"}'
curl -sS -X POST https://devops.majbase.com/base-converter/api -H "Content-Type: application/json" -d '{"value":"ff","base":"hex"}'

Returns {"binary", "decimal", "hex"}, or {"error": "..."}.

🤖 Use this API as a Claude Skill

Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:

⬇️ Download SKILL.md · View raw