Convert numbers instantly
across binary, octal, decimal, and hex.
Convert integers between binary, octal, decimal, and hexadecimal in a single API call. Optional 0x, 0b, and 0o prefixes are detected automatically.
Trusted by teams at
Predictable conversions across every base
Convert integers between binary, octal, decimal, and hexadecimal with consistent, well-defined results. Optional prefixes (0x, 0b, 0o) are detected automatically, and negative integers are supported.
{
"input": "255",
"from": 10,
"to": 16,
"result": "ff"
}
Simple requests, instant results
Pass a source base, target base, and value as a string. No configuration or lookup tables required — the API parses the prefix, converts the value, and returns the result in a single response.
GET /v1/technology/base?from=10&to=16&value=255
Host: requiems.xyz
requiems-api-key: YOUR_API_KEY
Real problems, real conversions
Number base conversion fits anywhere integers need to move between systems.
Low-level debugging and reverse engineering
Convert memory addresses, CPU flags, and register values between hex and binary while inspecting embedded systems or disassembled code.
Teaching number systems
Help students visualize how the same quantity is represented in binary, octal, decimal, and hexadecimal.
Protocol and packet analysis
Decode network packet headers, flags, and checksums that ship in hexadecimal or binary form.
Developer tools and calculators
Power in-app calculators, scientific tools, and IDE plugins that need base conversion on demand.
Bitmask and color utilities
Convert bitmasks, permission flags, and color channel values between bases for configuration and design tools.
Data validation pipelines
Normalize numeric input that may arrive in different bases before storing or comparing values.
Use together with complementary APIs.
Number Base Conversion becomes even more useful when combined with other Requiems APIs.
Benefit: Handle both measurement and numeric transformations in engineering, educational, and technical applications.
Outcome: Measurement and radix conversion from a single API provider.
Benefit: Convert hex color codes to binary or decimal while transforming between HEX, RGB, HSL, and CMYK.
Outcome: A full color-and-radix toolkit for design and developer tools.
Benefit: Normalize numeric fields across bases before converting structured payloads between JSON, YAML, CSV, XML, and TOML.
Outcome: Clean, base-consistent data pipelines end to end.
Frequently asked questions
Stop writing base-conversion functions by hand.
One API key. Convert between binary, octal, decimal, and hexadecimal instantly — plus 50+ APIs for developers.