Convert Characters to ASCII Codes
cross-browser testing tools
World's simplest online string to ASCII converter for web developers and programmers. Just paste your text in the form below, press the Convert to ASCII button, and you'll get ASCII values. Press a button – get ASCII. No ads, nonsense, or garbage.
Want to convert ASCII to text?
Use the ASCII to Text converter!
Using a Text to ASCII Converter in Cross-browser Testing
A text to ASCII converter can be useful if you're doing cross-browser testing. For example, if you're making a web application that can't accept Unicode as input (for example, email field or age), then a quick test to check that the input text isn't Unicode is to convert it to ASCII codes, and check that all code point values are less than 255. If there's a code value larger than 255, then there's a Unicode character in the input. Several other use cases for an ASCII code converter are hiding spoilers in forums so that people first have to decode the code values to read the answer and debugging input data by checking the numeric values of characters.
Looking for more web developer tools? Try these!
Pro tip: You can use ?input=text query argument to pass text to tools.