ASCII Converter

Convert text to ASCII codes in decimal, hex, octal or binary, and back to text — free online.

About

About the ASCII Converter

Converts text into character codes (decimal, hex, octal or binary) and decodes codes back into text.

Students learning how characters are represented as numbers use it to see a word's exact codes, while developers use it to decode a sequence of character codes found in a data dump or spec back into readable text. It's one of many free converters on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.

Choose what to view about this tool

Guide

Using the ASCII Converter

  1. 1

    Step 1

    Choose a separator (space, comma, comma + space or new line) and a number base (decimal, hex, octal or binary).

  2. 2

    Step 2

    To encode: type text into the Text box and click "Text to codes".

  3. 3

    Step 3

    To decode: paste codes into the Codes box, matching the chosen separator and base, and click "Codes to text".

  4. 4

    Step 4

    Copy either box with its own button, or click Clear to start over.

  • Converts text to character codes in four number bases — decimal, hexadecimal, octal and binary
  • Supports four separators between codes — space, comma, comma and space, or one code per line
  • Decodes a list of codes back into text, matching them to the base and separator you selected
  • Works in both directions in the same tool, without needing a second page to reverse the conversion
  • Works entirely in your browser — no installs and no sign-up
  • Free to use, with no limit on how many times you run it
  • Fully responsive, so it works just as well on a phone as on a desktop

Students

Students use the ASCII Converter for seeing the exact character codes behind a word or sentence while learning how text is represented as numbers.

Developers

Developers use the ASCII Converter for decoding a sequence of character codes found in a data dump, protocol spec or old file format back into readable text.

Puzzle and CTF solvers

Puzzle and CTF solvers use the ASCII Converter for quickly turning a string of character codes found in a challenge into plain text.

Anyone debugging character data

Anyone debugging character data uses the ASCII Converter for confirming that a set of codes decodes into the text it's supposed to represent.

Examples

ASCII Converter examples

3 worked examples

01

Encode to decimal

Typing "Hi" and choosing decimal codes produces 72 105 — H is 72 and i is 105.

02

Encode to hex

Typing "SOS" and choosing hexadecimal codes produces 53 4F 53, each letter written as a 2-digit hex code.

03

Decode from binary

Pasting 01001000 01101001 as binary codes decodes back to Hi, using 8 bits per character.

FAQ

Frequently asked questions

Quick answers to common questions about the ASCII Converter.

What does the ASCII Converter do?

It converts text into character codes — in decimal, hex, octal or binary — and decodes codes back into text.

Is the ASCII Converter free to use?

Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.

Is my input safe when I use this tool?

Yes. The text or codes you enter are processed entirely on your own device — nothing is sent to a server.

What number bases are supported?

Decimal (base 10), hexadecimal (base 16), octal (base 8) and binary (base 2) — pick whichever format your codes are in, or whichever you need to produce.

What separators can I use between codes?

Space, comma, comma followed by a space, or a new line for each code — match whichever separator your source data uses when decoding.

Does it handle characters beyond basic ASCII?

Character codes are generated from each character's Unicode code point, so text beyond the classic 0-127 ASCII range will still produce and decode consistent codes.

Can I use the ASCII Converter on my phone?

Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.

Does the ASCII Converter have any limitations?

Decoding expects well-formed codes matching the selected base and separator; malformed or mismatched input may not decode into valid text.

Still have a question? Contact us

Report a problem

ASCII Converter

What went wrong?
    or paste a screenshot