ASCII Converter
Convert text to ASCII codes and ASCII codes to text. Supports decimal, hex, octal, and binary formats. Free online tool.
How to Use
- To convert Text → ASCII: type or paste text in the left panel and click Text → ASCII.
- To convert ASCII → Text: enter space-separated codes in the right panel and click ASCII → Text.
- Select the output format (Decimal, Hex, Octal, Binary) before converting.
- Click Copy to copy the result.
Worked Examples
Text to ASCII
Input: Hello
Decimal output: 72 101 108 108 111
Hex output: 0x48 0x65 0x6C 0x6C 0x6F
ASCII to Text
Input: 87 111 114 108 100
Output: World
What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numbers to 128 characters including letters, digits, punctuation, and control characters. It forms the foundation of modern text encoding systems like UTF-8.
FAQ
What formats are supported?
You can output ASCII codes in Decimal (65), Hexadecimal (0x41), Octal (0101), or Binary (01000001) format. When converting back, all these formats are auto-detected.
Does it support Unicode?
Yes. While the reference table shows standard ASCII (0-127), the converter handles full Unicode characters including emoji and CJK characters.
How do I enter multiple ASCII codes?
Separate codes with spaces or commas. You can mix formats: '72 0x65 0b1101100 0o154 111' all work together.
Is my data sent anywhere?
No. All conversion runs 100% in your browser using JavaScript. Your data never leaves your machine.