Skip to content
IPOK

Base Converter

Enter a number and choose its base; this tool shows its binary, octal, decimal and hexadecimal forms at once. It uses BigInt, so even very long numbers don't lose precision the way parseInt would.

Writing firewall rules, setting permission bitmasks (like chmod 755), tweaking color values or reading low-level debug output constantly means converting between base 2 / 8 / 10 / 16. All local, never uploaded.

二进制 (BIN)

11111111

八进制 (OCT)

377

十进制 (DEC)

255

十六进制 (HEX)

FF

Local, exact for any length via BigInt — no precision loss. Firewall rules, permission bitmasks, color values and low-level debugging constantly convert between base 2/8/10/16.

Check your exit IP's purity while you're here →
Check your own IP — purity, risk score, native vs datacenter, leaksCheck IP →

FAQ

What is hex FF in decimal?

255 (decimal), 11111111 (binary), 377 (octal). Choose base 16 and enter FF to see the other three at once.

Why BigInt?

JavaScript's Number loses precision above 2^53; BigInt handles arbitrary-length integers, so converting big numbers (e.g. 64-bit) stays exact.

Is the number I enter uploaded?

No, everything is converted locally in your browser.

More tools