Topic

What is a public key?

Last reviewed:

The short lesson

Crypto uses key pairs. Each pair has a private key and a public key. They are linked by math.

  • The private key is the secret. It signs transactions. Whoever has it controls the funds.
  • The public key is made from the private key. It is safe to share. It lets anyone check that a signature really came from the matching private key.

The math only works one way. You can get the public key from the private key, but not the other way around.

Your wallet address is usually a shorter code made from your public key. That is what you give people when they send you crypto.

A simple picture: the address is like a mail slot, and the public key lets anyone check the seal on a letter. The private key is the only key that opens the box. Share the slot. Never share the key.

An open book, close up

Related terms

Common questions

Is it safe to share my public key?

Yes. It cannot be used to work out your private key. Your address is what you usually share.

Is a public key the same as an address?

Not exactly. The address is usually made from the public key and is often shorter.

Can someone steal crypto with my public key?

No. They would need the private key or the seed phrase.

Where is my public key?

Your wallet manages it. You usually only need your address.

Start here

Start here. Learn first. The sample lessons, topic pages, glossary and tools are open, with no card and no sign-up.

Start with Lesson 1