EditSafely

Draw an ASCII Table

Draw a reference table of ASCII codes and characters.

Runs on your device, nothing uploaded

Presets:
Range
First code
Last code
Show only part of the table, for example 48 to 57 for the digits.

Output

Generating…

This runs entirely on your device

Draw an ASCII Table is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. Nothing is requested from a server, so the result you see has never existed anywhere but here.

  • No server involved
  • Generated on your device
  • Works offline once loaded
  • Nothing stored or logged

How to use Draw an ASCII Table

  1. 1. Choose the Range. Select 7-bit (0 to 127) for the standard ASCII set, or 8-bit (0 to 255) to add the extended range. Codes 128 to 255 depend on the code page: Windows-1252 (the default, with € and curly quotes), ISO-8859-1, or CP437, the DOS page with box drawing characters.
  2. 2. Read the reference table. The tool lists every code point in the chosen range alongside its decimal, hexadecimal, octal and printable character values in one table.
  3. 3. Copy the reference table. Copy the finished table and keep it handy or paste it into documentation whenever you need to look up a character's code.

When to use Draw an ASCII Table

Draw an ASCII Table generates a full reference chart of character codes and their printable characters, covering either the standard 7-bit ASCII range or the extended 8-bit range. It replaces flipping between a printed chart or a search engine every time you need to check what code a character maps to.

  • Looking up a control character's code. You need to know the exact decimal or hex value of a control character like a tab, newline or escape character while writing a parser. Generating the 7-bit table here gives you every code in one place.
  • Referencing extended characters for legacy hardware. You're working with a device or file format that uses the extended 8-bit range for accented characters or box drawing. Generate the 8-bit table with Windows-1252 for accented text, or with CP437 for DOS box drawing, to see what each code actually is.
  • Building a cheat sheet for a systems course. A networking or systems programming class covers ASCII codes and you want a printable reference for exams or homework. Generating the table here gives a complete, accurate chart in seconds.
  • Cross checking a custom character map. You're implementing a custom encoding or font and want to verify it against the standard ASCII assignments. Generating the reference table lets you compare code by code.

Examples

7-bit table

Output

Dec Hex  Oct  Char
--- ---- ---- ----
65  41   101  A
66  42   102  B
67  43   103  C
68  44   104  D
69  45   105  E

About the Draw an ASCII Table tool

Draw an ASCII Table does its work locally, right in the browser. Draw a reference table of ASCII codes and characters. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the ASCII Tools collection on EditSafely, a set of 81 small, focused ASCII utilities that share the same instant, private workspace.

You can shape the output with 4 settings, including Range, 128-255 as (8-bit), First code and Last code, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Does Draw an ASCII Table cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Does the generator send anything to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How do I get a different result?

Change a setting. The result is worked out from the settings alone, so the same settings always give the same result, and a change shows up immediately.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click Copy button, and Download saves the result as a file.

Related tools

All ASCII Tools →