Esta página ainda não está disponível em Português, por isso está a ler a versão em inglês.

VAPID key generator for web push

A VAPID key pair, generated on your device.

Funciona inteiramente no seu navegador. Nada do que você digita é enviado.

Press Generate to create a new key pair with the browser's own WebCrypto API (an ECDSA key on the P-256 curve, the format the Web Push standard requires).

  • The public key goes in your page, in pushManager.subscribe({ applicationServerKey }).
  • The private key goes on your server only, in your web-push library settings. Never put it in client code or commit it to a repository.

The keys are created on your device and never sent anywhere. Generate one pair per site and keep it: changing keys invalidates every existing subscription. Full walkthrough: web push notifications.