ASCII Converter

Convert text to ASCII codes.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Paste text and get a version containing only 7-bit ASCII: every character with a code above 127 is replaced by ?. This is a clean-up tool, not a character-code table, so it does not print numbers like 72 101 108.

How to use

1
Step 1
Paste the text.
2
Step 2
Press Run.
3
Step 3
Copy the ASCII-only text.

How it works

The text is read one Unicode code point at a time. Code points 0 to 127 pass through. Anything else, including accented letters, CJK characters and emoji, is replaced by a single ?. An emoji counts as one character, so it becomes one ?.

Worked example

Accents, CJK and emoji

Input
Héllo 世界 😀
Output
H?llo ?? ?
Walkthrough
é, the two CJK characters and the emoji are each replaced by one question mark.

Limitations

  • Accents are not transliterated: é becomes ?, not e.
  • It does not show numeric ASCII codes.
  • The replacement character is fixed to ? in the web tool.

Questions

How do I remove non-ASCII characters?
Paste the text and press Run. Each non-ASCII character becomes a question mark.
Does it show the ASCII code of each letter?
No. It converts text to ASCII-safe text, not to a list of codes.
Does é become e?
No. It becomes ?. Use a text cleaner that strips accents if you need that.
Is a newline preserved?
Yes. Newlines and tabs are ASCII, so they pass through.

Features

  • 7-bit ASCII output
  • One ? per character
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • What Is A RESTful API?

    Traversy Media

    API context for JWT, JSON, and encoding utilities.

    Watch on YouTube
  • Inspect Network Activity - Chrome DevTools 101

    Chrome for Developers

    Debugging payloads you paste into JSON and JWT tools.

    Watch on YouTube
  • Base64

    MDN

    When Base64 is appropriate versus raw binary transfer.

  • web.dev

    Google

    Modern web guidance that pairs with encoding and tooling pages.