Home Symbols QR Code Decorator More Tools Blogs About
01Binary Β· Decimal Β· Hex Β· Octal Β· BCD Β· Gray Code

Number System Converter

Convert between Binary, Decimal, Hexadecimal, Octal, BCD, and Gray Code instantly. Also convert ASCII text to binary and back.

Base 10 Enter Decimal Number
Please enter a valid decimal number (0-9).
Base 2 Enter Binary Number
Please enter a valid binary number (0s and 1s only).
Base 16 Enter Hexadecimal Number
Please enter a valid hex number (0-9, A-F).
Base 8 Enter Octal Number
Please enter a valid octal number (0-7 only).
πŸ“ Text / ASCII β†’ Binary
πŸ”’ Binary β†’ Text / ASCII
Binary Output
β€”
Text Output
β€”
Number Systems β€” Conversion Table (0-15)
Decimal Binary Octal Hex BCD Gray Code

Number System Converter Binary, Decimal, Hex, Octal, BCD, Gray Code and ASCII

Numbers can be represented in many different ways depending on the context and the system you are working in. The number 255 in decimal is FF in hexadecimal, 11111111 in binary, and 377 in octal they all represent the same value, just written in different number systems. If you work with computers, electronics, programming, or networking, you switch between these representations constantly. Textaura's number converter handles all of them in one place, instantly.

What number systems does it support?

The converter handles six number systems and one text encoding format. Decimal is the standard base 10 system that everyone uses in everyday life. Binary is the base 2 system that computers use at the hardware level, consisting only of 0s and 1s. Hexadecimal is the base 16 system used in programming, web colors, memory addresses, and many low level computing contexts. Octal is the base 8 system used in Unix file permissions and certain programming contexts. BCD, or Binary Coded Decimal, is a system where each decimal digit is represented by its own four bit binary sequence used in digital clocks, calculators, and industrial systems. Gray Code is a binary numeral system where consecutive values differ by only one bit, which is important in applications like rotary encoders and error minimization in digital circuits. And finally, the tool also converts ASCII text to binary and back, which is useful when working with character encoding.

Who uses a number converter like this?

Computer science students use it constantly when studying for exams or completing assignments that involve number system conversions. Learning to convert between binary and decimal by hand is a useful skill, but when you need to check your work or quickly convert a value mid project, a tool like this is invaluable.

Software developers and programmers use it when working with low level code, bitwise operations, memory addresses, or color values. Hexadecimal shows up everywhere in programming HTML color codes, Unicode code points, memory dumps, and network addresses all use hex. Being able to convert to and from hex instantly without doing the mental arithmetic saves real time.

Electronics and embedded systems engineers work with Gray Code and BCD regularly. Hardware designers dealing with rotary encoders, ADCs, or segment displays need to switch between these representations frequently. Having a tool that handles BCD and Gray Code alongside the standard number systems makes this much easier.

Network engineers work with IP addresses, subnet masks, and port numbers across decimal and binary representations. Understanding how a subnet mask like 255.255.255.0 looks in binary is a fundamental part of networking knowledge, and this tool makes it effortless to verify or explore those conversions.

How does the ASCII conversion work?

Every character you type every letter, number, punctuation mark, and space has a corresponding numerical value in the ASCII standard. The letter A is 65 in decimal, which is 01000001 in binary. When you type text into the ASCII conversion section of the tool, it converts each character to its binary representation. And when you paste binary in, it converts it back to readable text. This is useful when studying character encoding, working with data streams, or simply understanding how computers represent text at a fundamental level.

How to use it

You type or paste a value into any field and all the other representations update instantly. There is no convert button to press as you type, the results appear in real time across all number systems simultaneously. It is fast, accurate, and handles large numbers without any issues. And like everything on Textaura, it is completely free with no account required.

Frequently Asked Questions
How do I convert binary to decimal?
To convert binary to decimal, multiply each binary digit by 2 raised to the power of its position (from right, starting at 0), then sum all values. Example: 1010 = 1Γ—2Β³ + 0Γ—2Β² + 1Γ—2ΒΉ + 0Γ—2⁰ = 8+0+2+0 = 10. Use the step-by-step button to see this for any number.
What is hexadecimal (hex)?
Hexadecimal is a base-16 number system using digits 0-9 and letters A-F. It is widely used in computer science, web colors (#FF5733), memory addresses, and color codes. One hex digit represents exactly 4 binary bits.
What is Gray Code?
Gray Code (also called reflected binary code) is a binary sequence where only one bit changes between consecutive values. It is used in digital circuits, rotary encoders, and error correction to prevent glitches during transitions.
What is BCD (Binary Coded Decimal)?
BCD represents each decimal digit with its 4-bit binary equivalent. For example, decimal 25 in BCD is 0010 0101 (2=0010, 5=0101). It is used in digital clocks, calculators, and financial systems where decimal accuracy is critical.
How do I convert text to binary?
Each character has an ASCII value (e.g., 'A' = 65, 'a' = 97). To convert to binary, find the ASCII value of each character and convert it to 8-bit binary. Use the "Text ↔ Binary" tab above to convert any text to binary and back.
What is the difference between Octal and Binary?
Binary (Base 2) uses only 0 and 1. Octal (Base 8) uses digits 0-7. One octal digit represents exactly 3 binary bits. Octal was historically used in older computer systems and Unix file permissions (e.g., chmod 755).
Copied!