How to export public key for an address in bitcoin-qt? With the probable increase in demand for multi-sig (P2SH) addresses, and since the procedure for creating such addresses requires that each participant provides the uncompressed public key for an address under their control, I find it surprising hard to find documentation on how to export the public key of a bitcoin address.

So for the benefit of future searches: How exactly to you get the public key for an existing address for which you have a private key in bitcoin-qt?
And the answer is:


copy the address in question from your "Receive" address list
Help -> Debug window -> Console
type: validateaddress &lt;address&gt;


where &lt;address&gt; is the address you copied in step 1.

The command validateaddress will output a number of key-value pairs, one of them being "pubkey".

Edit: bitcoin-qt creates compressed keys (as you can check in the iscompressed key-value). If you need uncompressed keys you can use something like https://coinb.in/