Randomly logo Randomly

Phone token generator

Generate format-realistic FCM, Apple Push, BlackBerry PIN, and generic device-token placeholders for testing.

Formats 4 Generated locally

Output · 0 tokens

32 chars

Adjust options to generate tokens.

Format-realistic test placeholders generated locally with cryptographically strong randomness. They are not registered device credentials and cannot receive push notifications.

A free phone-token generator for creating format-realistic test data. Choose FCM, Apple Push Notification service (APNs), BlackBerry PIN, or a configurable Base62 token, then generate and copy a batch. Everything runs locally in your browser.

How to generate phone or device tokens

  1. Choose FCM, Apple Push, BlackBerry PIN, or Generic.
  2. For Generic tokens, choose a length from 16 to 64 characters.
  3. Choose how many tokens to generate at once.
  4. Click Generate to produce the batch.
  5. Tap any token to copy it, or copy all at once.

What do the formats generate?

FCM creates an APA91-prefixed, URL-safe placeholder. Apple creates a 64-character hexadecimal APNs-style placeholder. BlackBerry creates an 8-character hexadecimal PIN. Generic creates a configurable Base62 string. These are test values only; real push credentials are issued by their respective services.

Typical uses

  • Testing UI layouts, line wrapping, and copy flows with realistic token lengths.
  • Creating placeholder API keys and refresh tokens for development environments.
  • Populating token fields in fixture files and test databases.
  • Producing anonymous identifiers for privacy-preserving analytics prototypes.

Frequently asked questions

Are these working push-notification tokens?

No. They are format-realistic placeholders for testing layouts, validation, fixtures, and databases. Only FCM, APNs, or BlackBerry infrastructure can issue registered credentials.

Why is the Apple token 64 hexadecimal characters?

That is the familiar 32-byte APNs token representation used in many test fixtures. Production code must not hard-code this length because Apple treats device tokens as variable-length binary data.

How random are the generated tokens?

Each token is built using your browser's crypto.getRandomValues API, which provides cryptographically strong randomness suitable for security-sensitive identifiers.

What is Base62?

Base62 uses digits 0–9, uppercase A–Z, and lowercase a–z. It produces compact placeholder identifiers without special characters.

Other tools