Hongmu Notes

🧮 Base conversion

Enter a value and select the current base, and get 2/8/10/16/26/32/36/52/58/62/64 base results at once.

Base conversion

current advance
base result Description
2 binary
8 Octal
10 decimal
16 hexadecimal
26 lowercase letters
32 Does not contain ILOU characters
36 Numbers + lowercase letters
52 uppercase letters + lowercase letters
58 Does not contain the 0OlI character
62 Numbers + lowercase letters + uppercase letters
64 Base64 standard alphabet

Instructions for use

First fill in the value to be converted in the input box below (for example, 100 or ff), check the base of the value itself in "Current Format", click "Start Conversion" or press Enter directly, the results area will list the results of 11 bases at a time; both the input box and the result box can be copied directly. If the prompt value does not match the base system, it means that there are characters in the input that are not included in the base system. For example, 2 is written in binary system, and 9 is written in octal system. All conversions are done locally in the browser and are not uploaded or saved.

✅ How to check the results

  • Put the result back into the input box and change the corresponding base. The decimal system should return to the original value.
  • Decimal 255 corresponds to hexadecimal ff, binary 11111111, and octal 377
  • Decimal 100 corresponds to hexadecimal 64

🔒 Data and privacy

The conversion is completed locally in the browser, and the input and results are not uploaded or saved, and will be cleared when the page is refreshed.

36 base conversion

Longer numeric numbers should be compressed into shorter alphanumeric strings.

The hexadecimal system uses 0 to 9 plus a to z, a total of 36 characters, which is 26 more than the decimal system, so the number of digits for the same value is significantly less: decimal 100 is 2s in the hexadecimal system, and 1000000 is lfls, which is two full digits less. Its advantage is that all characters are alphanumeric and case-insensitive (this tool handles them as lowercase). No escaping is required when entering file names, order numbers, and short chain codes. Check the hexadecimal system on the input side to restore it in reverse. For example, convert lfls back to decimal to get 1000000.

  • The character set is 0-9 and a-z
  • 1000000 corresponds to lfls
  • Mixed arrangement of letters and numbers, suitable for numbering short codes
  • Can be reversed to decimal
decimal36 base
1002s
1000000lfls

It should be noted that hexadecimal does not contain uppercase letters: filling in an uppercase string will be converted to lowercase before parsing. Therefore, case-sensitive numbers are not suitable for using hexadecimal. Instead, hexadecimal should be used instead to prevent two different numbers from being parsed into the same value. If the length is not as expected after conversion, you can also use this to determine whether the original character set was used incorrectly.

All keywords and tutorials 12

❓ FAQ

Can negative numbers be expressed in base 36??
This tool only handles non-negative integers; negative numbers need to agree on the sign bit or use other encoding methods.
Which one is shorter than base 62??
The hexadecimal character set is larger and has fewer numerical digits; however, the hexadecimal character set does not contain uppercase letters, making manual input easier.
How to use hexadecimal results
It is often used to shorten long numeric numbers into short strings of letters and numbers, such as order numbers and short link codes.