Santekno/toolsCategoriesTutorials

Binary / Hex / Decimal Converter

Convert between binary, octal, decimal, and hexadecimal. Handles arbitrarily large numbers via BigInt.

Processed in your browserUpdated · Jan 2026
Input
0 charsfrom
Output
0 chars

How to use Binary / Hex / Decimal Converter

Paste your input on the left, choose the options you want, and the output appears instantly on the right. Everything runs in your browser — none of your data is sent to a server.

  • Paste or type your input in the INPUT panel
  • The output regenerates automatically as you type
  • Use Copy to put the result in your clipboard
  • Click Sample to load a working example

What is Binary / Hex / Decimal Converter?

Base Converter parses a number in any of 4 bases (2, 8, 10, 16) and emits its representation in all four. BigInt is used internally, so numbers far beyond `Number.MAX_SAFE_INTEGER` (2^53) work correctly. Negative numbers are supported (prefix `-`). Underscores in input are stripped as readability separators (e.g., `1_000_000` is valid). Hex input is case-insensitive; output is lowercase. This tool is part of santekno's developer toolbox — a curated collection of utilities built for engineers who care about speed, privacy, and simplicity.

Common use cases

  • Debugging API payloads and integration issues
  • Inspecting tokens, hashes, or encoded strings during development
  • Generating fixtures and sample data for tests
  • Sharing readable output with teammates in code reviews

FAQ

Effectively unlimited — BigInt has no fixed upper bound. The platform 1MB input cap applies.