Skip to main content

    Number Base Converter

    Convert numbers between binary, decimal, octal, and hexadecimal

    numberbaseconverterbinaryhexadecimaloctaldecimal

    Number Base Converter

    Base 10 (standard numbering)

    Common Values

    Number Base Reference

    Common Prefixes

    • • Binary: 0b (e.g., 0b1010)
    • • Octal: 0o (e.g., 0o377)
    • • Hexadecimal: 0x (e.g., 0xFF)

    Valid Digits

    • • Binary: 0-1
    • • Octal: 0-7
    • • Decimal: 0-9
    • • Hexadecimal: 0-9, A-F

    8-bit Binary Representation

    0 = 00000000

    127 = 01111111

    128 = 10000000

    255 = 11111111

    Tool Information

    Category
    converter