Mobile Engineering Tools
Push Notification Payload Calculator
Enter notification content and custom data to compute payload size and validate against APNs 4KB and FCM 4KB limits.
No data is transmitted โ everything runs locallyTool
Example โ A short APNs notification with light custom data to confirm safe payload headroom.
Payload size
135 bytes
of 4096 byte limit
Status
โ Within limit
APNs
Remaining
3961 bytes
available for custom data
Recommendation
Good headroom
About this tool
Push Notification Payload Calculator
The Push Notification Payload Calculator computes total payload size and validates against APNs and FCM limits with title/body truncation warnings.
โข Verify push payload fits within APNs 4KB limit before sending
โข Calculate payload size for a rich notification with custom data
โข Check title and body length for truncation on lock screen
โข Validate FCM data message payload before implementing
Affiliate disclosure
Uptime, incident, and on-call management. Better Stack provides status pages, incident management, and on-call scheduling for engineering teams.
View notification delivery with Better Stack
External site ยท Independent provider ยท We may receive a commission ยท Not a recommendation
FAQ
What does this tool tell you?
The Push Notification Payload Calculator computes total payload size and validates against APNs and FCM limits with title/body truncation warnings.
What affects the result most?
APNs payload limit: 4KB for iOS โ exceeding silently drops notification. FCM data message limit: 4KB โ same constraint. Notification title + body: keep under 65 chars title, 240 chars body for no-truncation display.
How should I use the result?
The calculation is deterministic โ the same inputs always produce the same output โ so the most useful workflow is to vary one input at a time and see which factor moves the result most. That tells you where to focus your attention before committing to a decision.