I am trying to convert public key hex to Bitcoin address.

From this website http://gobittest.appspot.com/Address, I can do some test.

For example, I have this public key:


According to the website, the address should be:


which is the base58 encode of 0088C2D2FA846282C870A76CADECBE45C4ACD72BB655DA1216.

However, if I do Base58 encoding directly on 0088C2D2FA846282C870A76CADECBE45C4ACD72BB655DA1216 on this website https://www.browserling.com/tools/base58-encode, I will get:


which is totally different from the 34-char Bitcoin address.

Anyone knows why?

2 Answers 2


When you use that site, you are encoding the hex as a hex string, not of the actual bytes that they should be. The base58 encoding for addresses operates on the bytes themselves which are represented in the hex string. However that website is just encoding the hex string (which, as bytes, is double the length and is entirely other data).


Andrew Chow told you why. Now I'll tell you how.

First, convert hex to ASCII (I suggest this website)

(I can't copy the ASCII result below, since that would cause problems.)

Then copy the weird-looking ASCII text it created, and paste it to the Base58 Encoder.

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.