ASCII characters (or Unicode) to numbers converter
The converter of any ASCII or Unicode text to numbers. Allows for many format-related modifications of output. Numbers can be hexadecimal, decimal or binary. Setting separators (commas, linebreaks), dividing numbers to groups (ex. put "enter" after each 4 items) - is also "one-click-easy". Supports windows/linux/mac line-break codes.


popular sets (click to use):one big HEX,simple HEX,ansi-c table HEX,bytes DEC,bytes BIN
Show detailed settings:

Input - enter your ASCII characters here:

Output - main result shows here

31 2e 20 45 6e 74 65 72 20 68 65 72 65 20 79 6f
75 72 20 6f 77 6e 20 74 65 78 74 20 79 6f 75 20
77 61 6e 6e 61 20 63 6f 6e 76 65 72 74 2e 2e 2e
d a 32 2e 20 43 68 65 63 6b 20 66 6f 72 20 72
65 73 75 6c 74 20 69 6e 20 61 20 77 69 6e 64 6f
77 20 62 65 6c 6f 77 21 d a d a 6e 6f 6e 2d
41 53 43 49 49 20 63 68 61 72 61 63 74 65 72 73
20 28 65 78 3a 20 105 107 f3 2194 29 20 63 61 6e 20
62 65 20 66 69 6c 74 65 72 65 64 20 21 

What is the meaning of each calculator field ?

  • Input - enter your ASCII here - enter here the text, which you want to convert to numbers.
  • Settings - you can setup the details of configuration here, determining the rules of text-to-numbers conversion.

    How settings work:
    You can select one of predefined "common settings", which we prepared for you (just click to activate).
    Alternatively you can open detailed settings box and set your customized configuration one by one.

  • Common settings - most commonly used templates. We collected settings, which seems to be most popular here.
    • one big hex - the simplest one, without any special decorations. It simply converts input characters into two digits hex numbers as one, long line of text.
    • simple hex - output contains hex codes separated by single space. Also, there is a limit to keep max 16 codes per line.
    • ansi-c table HEX - it generates hex codes with "0x" prefixes, separated by commas. You can put the output into your ANSI C, C++, Java etc. source code. This setting is useful for programmers.
    • bytes DEC - it generates decimal ASCII codes separated by commas. You can put the output text into C or Java source directly.
    • bytes BIN - it generates binary ASCII codes separated by single space. Codes are filled up with with leading zeros if needed to keep 8 digits (zeros and ones) per item. Extra zero pads are marked with different color.
  • conversion
    • line break - you can select the method of replacing "enter" characters in output text here. You can select from common windows (13 10), linux (10), mac (13) and of course "ignore" option ie. generate text without line break characters
    • non-ASCII characters - you can configure how non-ASCII characters are treated here (ie. characters with ASCII code 127 and higher). You can decide to ignore them (filter) or not. Please note, that this calculator has no support for "control codes", so results for non-ASCII codes can be inconsistent (eg. they can depends on your internet browser or even on your operating system - no matter, that CALCULLA uses utf-8 internally).
    • number base - you can generate hexadecimal (base 16), decimal (base 10), octal (base 8) or binary (zeros and ones, base 2) numbers
  • output - every number
    • prefix - sequence, which will be inserted before each converted character. For example you can add "0x" prefix when you're going to generate hex output ready to paste into source code.
    • separator - sequence, which will be inserted after each converted charater - if it's not the last one in current group (see "grouping numbers" below). Please note you can use enter or spaces here too!
    • use padding to size - you can force constant lengths of generated numbers by adding padding to them. For example you can generate four digits numbers by padding numbers with insignificant zeros - then number 99 becomes 0099, number 1 becomes 0001 etc. If you want to disable padding, then just enter zero here.
    • padding - you can define character used while padding (see "use padding to size" option above). "0" (zero) is the most common option here.

  • grouping numbers
    • group size - how many characters should be processed to form a group. For example: if you're going to put line break after each 8 characters, you should enter 8 here.
    • insert after each group - sequence, which will be inserted after each group. For example if you put comma and enter here, then each group will be ended with comma character and then will trigger a new line in the output.

Tags and links to this website

What tags this calculator has


Links to external sites (leaving Calculla?)

Ancient version of this site - links

In December 2016 the Calculla website has been republished using new technologies and all calculators have been rewritten. Old version of the Calculla is still available through this link: We left the version 1 of Calculla untouched for archival purposes.
Direct link to the old version:
"Calculla v1" version of this calculator
JavaScript failed !
So this is static version of this website.
This website works a lot better in JavaScript enabled browser.
Please enable JavaScript.