18 free tools

Number & Text Encoding

Convert numbers between binary, octal, decimal and hexadecimal, and turn text into ASCII, hex or octal codes and back — each with a worked example you can follow.

Binary to Octal Convert binary numbers to octal instantly. For example, 101010 in binary is 52 in octal. Binary to Decimal Convert binary numbers to decimal instantly. For example, 1011010 in binary is 90 in decimal. Binary to Hexadecimal Convert binary numbers to hex instantly. For example, 11001110 in binary is CE in hex. Octal to Binary Convert octal numbers to binary instantly. For example, 65 in octal is 110101 in binary. Octal to Decimal Convert octal numbers to decimal instantly. For example, 144 in octal is 100 in decimal. Octal to Hexadecimal Convert octal numbers to hex instantly. For example, 377 in octal is FF in hex. Decimal to Binary Convert decimal numbers to binary instantly. For example, 45 in decimal is 101101 in binary. Decimal to Octal Convert decimal numbers to octal instantly. For example, 83 in decimal is 123 in octal. Decimal to Hexadecimal Convert decimal numbers to hex instantly. For example, 255 in decimal is FF in hex. Hexadecimal to Binary Convert hex numbers to binary instantly. For example, 1F in hex is 11111 in binary. Hexadecimal to Octal Convert hex numbers to octal instantly. For example, AB in hex is 253 in octal. Hexadecimal to Decimal Convert hex numbers to decimal instantly. For example, BB8 in hex is 3000 in decimal. Text to Ascii Convert text to ascii instantly. For example, "Hi" becomes "72 105". Ascii to Text Convert ascii to text instantly. For example, "Hi" comes from "72 105". Text to Hex Convert text to hex instantly. For example, "Hi" becomes "48 69". Hex to Text Convert hex to text instantly. For example, "Hi" comes from "48 69". Text to Octal Convert text to octal instantly. For example, "Hi" becomes "110 151". Octal to Text Convert octal to text instantly. For example, "Hi" comes from "110 151".

About Number & Text Encoding

This category collects eighteen converters for the two things computers store numbers as: different bases, and character codes. The base converters move a value between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16) in every direction — binary to decimal, hex to binary, decimal to octal and the rest. The encoders turn readable text into per-character codes and back: text to ASCII, text to hex and text to octal, each with a matching decoder.

Every page does one conversion and does it exactly. Because changing a whole number between bases only changes how it is written, never its value, nothing is rounded — 255 in decimal is simply FF in hex, and the tool shows the working so you can check it. Each page carries its own worked example and a small reference table of real conversions, so whether you are reading a colour code, decoding a hex dump, working out Unix file permissions in octal, or just learning how bases fit together, there is a page aimed squarely at that pair rather than a single generic box.

All eighteen run entirely in your browser: the numbers and text you paste are never uploaded. If you need a base the fixed pages do not cover, the number base converter handles arbitrary bases, and for whole strings of ones and zeros see text to binary and binary to text. For Base64 and URL encoding, which solve a different problem, see the developer tools.

Frequently asked questions

What is the difference between a base converter and a text encoder here?

A base converter changes how a single number is written — the same quantity in binary, octal, decimal or hex. A text encoder works on characters: it replaces each character with its numeric code point (in ASCII/decimal, hex or octal) and back. Use a base converter for numbers, an encoder for words and symbols.

Are these conversions exact, or are they rounded?

They are exact. Converting a whole number between bases changes only its notation, not its value, so there is no rounding or approximation. 100 in decimal is exactly 1100100 in binary and 64 in hex.

Can I convert several values at once?

Yes. In the base converters, separate each number with a space and every one is converted independently. In the text encoders, every character is encoded in order, one code per character.

Is anything I paste uploaded to a server?

No. Every converter in this category runs in your browser with JavaScript. The numbers and text you enter never leave your device.

Other tool categories