ASCII Code Converter

This tool converts text into the numeric codes that represent each character, in decimal, hexadecimal and binary, and converts a list of codes back into text. Every character a computer handles, each letter, digit, space and symbol, is stored as a number according to a character set: the classic ASCII set for the basic English characters and the wider Unicode set for everything else. Seeing those codes is a useful exercise for understanding how text is stored, a practical tool for programming and debugging when you need a character's code point, and a bit of fun for puzzles and secret messages. This converter shows them clearly. You paste your text and the calculator lists each character alongside its code in decimal, hexadecimal and binary, the three ways codes are commonly written. Switch to the reverse mode and enter a list of decimal codes, and it turns them back into the characters they represent. Everything runs in your browser, so nothing is uploaded, and the result updates as you type. Use it to find the code point of a character, to convert text to codes for a program or puzzle, to learn how characters map to numbers, or for development and debugging. The decimal code is the character's position in the character set, the hexadecimal is the same number in base sixteen as often used in programming, and the binary shows the underlying bits. For the basic English characters these match the familiar ASCII table, where capital A is 65 and lowercase a is 97, while characters beyond that range use their Unicode code points. This makes the link between the characters we read and the numbers a computer stores tangible, and lets you move between the two whenever you need.

-

Shows decimal, hexadecimal and binary codes for each character. Decode mode reads decimal codes separated by spaces or commas. Uses Unicode code points. Runs in your browser.

How it works

In text-to-code mode, each character's Unicode code point is read and shown in decimal, then converted to hexadecimal and to binary. In codes-to-text mode, the input is split into numbers, each is treated as a decimal code point, and the matching character is produced, rebuilding the text.

Worked example

The text Hi converts to two characters: H has the decimal code 72, hexadecimal 0x48 and binary 1001000, while i has decimal 105, hexadecimal 0x69 and binary 1101001. Switching to decode mode and entering 72 105 returns the original text, Hi.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

© 2019 to 2026 Calculate.co.nz. All rights reserved.