APImcp
GuidesUtilities
ConsoleDocsMCP
Utilities ⏱ 1 min read

Base Converter API — Convert Numbers Between Numeric Bases (2-36)

Convert numbers between binary, octal, decimal, hexadecimal, and any base from 2 to 36. Perfect for programming and math. Free API.

01

What is Base Conversion?

Base conversion converts numbers between different numeric bases (radices). The API supports binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and any custom base from 2 to 36. It handles integer and floating-point conversion with arbitrary precision.

02

How to Use It

Call GET /api/v1/base-converter?value=255&from=10&to=16. Returns { input: string, from_base: number, to_base: number, result: string, representations: { binary: string, octal: string, decimal: string, hexadecimal: string } }.

Try it live Test this endpoint in the interactive console
Open Console →

Frequently Asked Questions

What bases are supported?
Any base from 2 (binary) to 36 (using digits 0-9 and letters A-Z).