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.
What is the meaning of each calculator field ?
- Input - put your ASCII here - put 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 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 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.
- 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 put 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 put 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.
Links to external sites (leaving Calculla?)
Ancient version of this site - links
"Calculla v1" version of this calculatorIn 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: v1.calculla.com. We left the version 1 of Calculla untouched for archvial purposes.
Direct link to the old version: