Posted comments (20)

Posted by Jc at November 20, 2013 00:21:59 CET
This is handy. Could you add octal support?
Posted by Vs at May 21, 2014 13:10:21 CEST
is it possible to do it for multiple numbers say i have 50 decimal number and i want to convert it into hexadecimal in one GO?
Posted by Vs at November 11, 2014 22:03:16 CET
Thank you! This is very useful.
Posted by Dmitry Kumar Nguyen Chen at July 12, 2015 16:15:31 CEST
This tool, Sir, is extremely useful
Posted by Hashi at November 2, 2015 22:44:14 CET
...and now this site's going into my "tools" bookmark folder.
Posted by Chandra at November 20, 2015 20:52:05 CET
the hex number C4E70B40A5324D02BB5F4978537276DE
when converted to decimal through your tool shows
261728335976398933936745925771024037598 where as if i convert using BigInteger in c# converts it to -78554030944539529526628681660744173858 ?? :(
Posted by John at November 30, 2015 14:42:24 CET
@Chandra, you will need to specify unsigned biginteger in C#, as without specifying, it assumes it to be signed.
Posted by Metod Kac at December 1, 2015 06:56:45 CET
We have to calculate big dec number (40char) from big hex naumber (32char) in our xBase (32bit) application. Is exists a funcion on form, we can use it (obj, dll)?

In all respects, Metod
Posted by Alex at January 7, 2016 17:10:30 CET
@John how can i do that on c#?
Posted by Jlp Minion at January 27, 2016 12:14:49 CET
Really useful utility, not many converters go large enough :)
Posted by Ankit Thakur at May 5, 2016 12:15:04 CEST
I am using OpenSSL library in ObjC. When I am creating EC Private key, I get x, y values in BigNum whose hex representation is
Q(x, y): (4BEE6F8C0AD800047C0E4DD27B7C68A0B51D4DC13367781BBB82B50F6BD0E6CF, 60293ED859F44A392C8A9E2C6570CECB60FCE2C1988B48E33B0D218C1353D53A)

Now when I am converting it to Base64URLEncoded, the output is
x = S-5vjArYAAR8Dk3Se3xooLUdTcEzZ3gbu4K1D2vQ5s8
y = YCk-2Fn0Sjksip4sZXDOy2D84sGYi0jjOw0hjBNT1To

whereas your website shows:
x = 4lkRumAs004V0vDqdjyQA2r7Kt1CsTu6xk2jGzhqERF
y = 60fFjXPz4evB8gUB6LmpijW=EB1c8j8upiD8OmJKzKw

Please suggest.
Posted by Ankit Thakur at May 5, 2016 12:16:04 CEST
thanks, nice tool.
Posted by Henrik Johansson at June 17, 2018 15:56:02 CEST
Not many websites support large hex to decimal. Thank you!
Posted by Syrian Lucianos at August 20, 2018 05:30:10 CEST
That's really great , thanks for the awesome tool.
are you using PHP's GMP library for this purpose?.
If you've implemented your own algorithm , can you publish the source code on github?
Posted by Nunu Zac at September 24, 2018 16:54:26 CEST
Very useful, thanks a ton.
Posted by Neil at July 9, 2020 15:21:25 CEST
It appears to treat all hex as big endian numbers which will cause issues for programmers checking say uint64 values in a debugger which will almost certainly use little endian notation.

It's simple enough to reverse the byte values, anyway - I validated my number here but I needed to manually convert it from little endian to big endian and then it worked.

Example for others :
EE26B0DD4AF7E749 = 17160597894633875273 as converted above

But in the debugger the uint64 value is much smaller at 5325496985307850478

Reverse the byte stream to 49E7F74ADDB026EE now = 5325496985307850478 which is what I'm looking for.
Posted by Daniel at November 9, 2020 11:24:37 CET
Hi , is it even possible to do it for multiple hex numbers at once? I know the question was there before but no answer ... Thanks that would help a lot
Posted by Feri at November 25, 2020 01:21:05 CET
This is so useful! Thank you.
Posted by Jp at May 17, 2021 11:42:20 CEST
Very useful site!!!

Except for base64 where the use of characters (=_) which are not base64 or base64url compliant makes it a pain to convert to other bases.
Posted by Karol at January 23, 2022 00:23:12 CET
Can you make it work with negative numbers please like -4703919738795935662081