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.
51K
Announcement: We just launched math tools for developers. Check it out!
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!
Text Columns to Rows Converter
Text Rows to Columns Converter
Text to HTML Entities Converter
UNIX time to UTC time Converter
UTC time to UNIX time Converter
Seconds to Human Readable Time
Binary Bitwise NAND Calculator
Binary Bitwise XNOR Calculator
Binary Bit Rotator to the Left
Binary Bit Rotator to the Right
Text Character Rotator to the Left
Text Character Rotator to the Right
Number of Letters in Text Counter
Number of Words in Text Counter
Number of Lines in Text Counter
Number of Paragraphs in Text Counter
Decimal to Scientific Converter
Scientific to Decimal Converter
Celsius to Fahrenheit Converter
Pro tip: You can use ?input=text query argument to pass text to tools.