Binary, Hex and Decimal Converter - Convert Between Number Bases

Tools / Dev Tools / Binary / Hex / Decimal

Number base converter

Input format

Spaces, underscores and 0x / 0b / 0o prefixes are ignored, so you can paste values straight from code. A leading minus sign is allowed.

Decimal
—
Binary
—
Octal
—
Hexadecimal
—
Unicode character
—
Bit length
—

Frequently Asked Questions

Pick Decimal as the input format, type the number, and read the Binary box. Every box updates as you type, so you also get octal, hexadecimal and the bit length in the same pass.
New
Subnet Calculator Enter an IPv4 address with a CIDR prefix or netmask to get the network and broadcast address, usable host range, host count, wildcard and binary view.
Popular Today
Chmod Calculator Tick read, write and execute boxes or type 755 or rwxr-xr-x and get both chmod commands. Handles setuid, setgid and the sticky bit.

Related Dev Tools

MD5 Hash Generator Free MD5 hash generator: turn any text or file into an MD5 checksum in your browser - useful for integrity checks and quick fingerprinting.
Base64 Encoder & Decoder Free Base64 encoder and decoder: convert text or files to Base64 and back, entirely in your browser - nothing is uploaded to a server.
JWT Decoder Free JWT decoder: paste a token to read its header, payload and signature in a readable form - decoding happens in your browser, nothing is sent.
URL Encoder & Decoder Free URL encoder and decoder: convert links and query parameters to percent-encoding and back, with full-URL and component modes, in your browser.
UUID Generator Free UUID generator: create v1, v4 and v5 identifiers instantly, generate them in bulk and copy any value with a single click - no signup needed.

Other Tools You May Like

Word to PDF Convert Word to PDF for free: upload a DOC, DOCX, ODT or RTF file and download a properly formatted PDF in seconds - no registration or watermark.
PDF to Word Convert PDF to Word for free: upload a PDF and download an editable DOCX in seconds - no registration, no watermark and nothing to install.
Word Counter Free word counter: paste any text to count words, characters, sentences and paragraphs, and see the estimated reading time - nothing leaves your browser.
Character Counter Free character counter: count characters with and without spaces, plus words and lines, and check SEO limits for titles and meta descriptions.
Keyword Density Checker Free keyword density checker: paste text or a URL to see how often each word and phrase appears, with percentages for one, two and three-word terms.