GUIDE

Number bases and text bytes

Understand the difference between changing a number and encoding text.

On this page

Convert the number, not its spelling

A base tells you which digits can be used. Decimal uses 0–9, binary uses 0 and 1, and hexadecimal uses 0–9 and A–F. Number Base Converter preserves the exact integer, including large values.

255 in base 10 = FF in base 16 = 11111111 in base 2

Text uses a sequence of bytes

UTF-8 (Unicode Transformation Format) encodes characters as one or more bytes. Hex displays two digits for each byte; binary displays eight bits. An emoji therefore needs several byte groups.

A → 41 in hexadecimal → 01000001 in binary

Choose the correct input format

Use Number Base Converter for a single integer and Text to Binary / Hex for text. Incomplete groups or invalid text bytes are rejected. Encoded output grows, so its size limit may be reached before the input limit.