ASCII Converter
Convert text to ASCII codes.
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
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?
Does it show the ASCII code of each letter?
Does é become e?
Is a newline preserved?
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 YouTubeInspect Network Activity - Chrome DevTools 101
Chrome for Developers
Debugging payloads you paste into JSON and JWT tools.
Watch on YouTube