- / VAPID key generator
VAPID key generator
Generate VAPID (Voluntary Application Server Identification) key pairs for web push notifications.
What are VAPID keys?
VAPID (Voluntary Application Server Identification) keys are used to identify your server when sending web push notifications. Use these keys to authenticate your server with push services like FCM.
They consist of a public and private key pair that authenticate your application with push services like FCM (Firebase Cloud Messaging) and browser push APIs. The public key is shared with the browser to subscribe users to push notifications, while the private key is kept secret on your server to sign push messages.
How to use this tool
- Click "Generate new keys" to create a new VAPID key pair.
- Copy the generated keys and store them securely in your application.
- Use the public key in your frontend and the private key in your backend.
Note: These keys are generated entirely in your browser using WebCrypto and never leave this page. Store your private key securely in your backend environment variables and never expose it in client-side code.