Base Converter

Type an integer in any base from 2 to 36 and read it back in binary, octal, decimal and hex, live.

Numbers are whole and unsigned, up to 2^128-1. For signed numbers, two’s complement, floats and byte-level views, use the Binary Value & Endianness Inspector.

This is generated in browser and is not sent to pah.moi servers.

About this tool2 paragraphs

Convert an integer between binary, octal, decimal, and hex. Type a value (auto-detecting a 0x, 0b, or 0o prefix) or pick the input base; every base updates live.

Any base from 2 to 36 can be read, and one more output row can show the same value in a base you pick.

Use it locally This tool has a native command line twin. Build base-cli from the site's source with:
cargo build --release --bin base-cli
Source and licence terms