Convert Text to Decimal
cross-browser testing tools
World's simplest online text to decimal converter for web developers and programmers. Just paste your text in the form below, press the Convert button, and you'll get decimal numbers. Press a button – get decimals. No ads, nonsense, or garbage. Works with Unicode and UTF8 as well.
51K
Announcement: We just added three new tools categories –
Text tools, Image tools, and Math tools. Check them out!
Text tools, Image tools, and Math tools. Check them out!
%d is one output decimal character. For example %d. will add a dot after each dec char. %d%d will duplicate each char, etc.
Want to convert Decimal to Text?
Use the Decimal to Text converter!
Using a String to Decimal Number Converter in Cross-browser Testing
A string to decimal number converter can be useful if you're doing cross-browser testing. For example, if you're writing a web application that transfers messages using a simple non-binary text protocol, then it may get tricky to transfer multi-byte characters (such as Unicode symbols and emojis). With this utility, you can convert any text, Unicode glyphs, and multi-byte strings into decimal numbers (or integers). These decimal numbers represent keycodes, ASCII code,s or multi-byte UTF8 sequences of the input data. If you're writing a unit test for such data transformations, then this program will be very helpful. Any data in the input field will get converted into a sequence of decimal numbers that you can then use as input and output data for a unit test. Additionally, if you want to obfuscate text you can run it through this utility and you'll simply get a sequence of numbers that someone will need to decode to read.
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.