Skip to content

A simple program to convert string values into others.

Notifications You must be signed in to change notification settings

riccio333/0x-Converter

Repository files navigation

0x Converter

This converter can convert string values like:

  • Text
  • Binary
  • Hex
  • Ascii
  • Base64
  • Octal

yAZKUBF5

The program

I made some checkboxes in the converter to make things easier. So if someone wants the binary string with spaces he can select the "with spaces" checkbox and copy the value.

For long strings obviously the program can't display all the text on the label, so you can copy the values and paste them somewhere. I also made a "copy all" button that copy all values so when you paste the values will be displayed like this:

Text: Hello World!

Binary: 010010000110010101101100011011000110111100100000010101110110111101110010011011000110010000100001

Hex: 48656C6C6F20576F726C6421

ASCII: 72101108108111328711111410810033

Base64: SGVsbG8gV29ybGQh

Octal: 1101451541541574012715716215414441

or

Text: Hello World!

Binary: 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100 00100001

Hex: 48-65-6C-6C-6F-20-57-6F-72-6C-64-21

ASCII: 72 101 108 108 111 32 87 111 114 108 100 33

Base64: SGVsbG8gV29ybGQh

Octal: 110 145 154 154 157 40 127 157 162 154 144 41

N9zziCbA

Bugs

I worked a lot on this project (and sometimes I closed the project for some days because it was too boring to code and full of bugs) and I'm an human, so I can also do some mistakes. If you found any bugs contact me please and tell me about the bug that you found and also send some screenshots or video. (https://riccio333.space/contacts)

p.s.: I'm not 100% sure that conversion from ASCII or base64 to others values are right. For example I converted If you have any suggestions to fix the code to convert from this values to others they are welcome.

Using my code

If you need some parts of my code to put in your project you can do it, but if you need then to publish your program/project to GitHub or any other site remember to put a comment with my repository link ( //https://github.com/riccio333/0x-converter ) for respect of who made the code and who is watching your code, so in case they can't understand something they can also watch my repository (this also applies to any other people on GitHub). Thank you.