UX Design for Notification Text - Optimal Character Counts for In-App Notifications, Toasts, and Banners

9 min read

In-app notifications, toast messages, and banner notifications are UI components designed to convey information without interrupting the user's workflow. Yet we routinely see failures - long text crammed into time-limited toasts, or banner notifications with too few characters to convey meaning. While push notification character count design is constrained by OS-level limits, in-app notifications give developers full design freedom, making proper character count judgment even more critical.

Notification Component Classification and Basic Character Count Design

In-app notification components are classified by display duration, position, and whether user action is required. Each component's characteristics demand tailored character count design.

ComponentDisplay DurationPositionAction RequiredRecommended CharsUse Case
Toast3-5 secBottom or topNo (auto-dismiss)15-40 charsAction success/failure confirmation
Snackbar5-10 secBottomOptional (action button)20-50 charsConfirmation + undo
BannerPersistent (manual close)TopYes (close button)30-80 charsImportant announcements, system status
Inline AlertPersistentWithin contentNo40-120 charsForm errors, warnings
Modal DialogPersistent (until action)CenterYes (confirm/cancel)50-200 charsCritical confirmations, destructive action warnings
Notification Center (in-app)Persistent (list)Dedicated screenNo40-100 charsPast notification history

Toasts have the strictest character limits. With only 3-5 seconds of display time, 15-40 Japanese characters is the practical maximum. Humans can read approximately 10-15 Japanese characters per second, meaning a 5-second toast allows reading up to about 75 characters. However, accounting for the 1-2 second lag between noticing the toast and starting to read, the effective readable count drops to 30-45 characters.

Toast Message Character Count Design - Communicating in 3 Seconds

Toast messages function as immediate feedback for user actions. Short confirmation messages like "Saved," "Copied," or "Sent" are typical use cases.

PatternChar CountExampleAssessment
Verb only5-8 chars"Saved"○ Most concise but unclear what was saved
Object + verb10-20 chars"Draft saved"◎ Clear object, concise
Object + verb + detail20-40 chars"Draft saved. Auto-save runs every 5 minutes"△ Too long for a toast
Icon + verb5-10 chars"✓ Save complete"○ Icon reinforces visibility

The "object + verb" pattern (10-20 characters) is the optimal range for toast messages. Specifying the object lets users accurately identify which action completed, even when multiple operations run in parallel (e.g., uploading a file while saving settings).

When adding an "Undo" button to a toast, design it as a snackbar with 5-10 seconds display time. Gmail's "Message sent - Undo" is a classic example. When including an undo button, keep message text under 20 characters and ensure adequate tap target area for the button.

Banner Notification Character Count Design - Information Density in Persistent Displays

Unlike toasts, banner notifications persist until the user manually dismisses them. This allows more information, but since they continuously occupy screen real estate, excessive character counts obstruct content viewing.

Optimal banner character counts vary by display position and purpose.

Banner TypeRecommended CharsExampleAction Buttons
Info Banner30-60 chars"New feature: Dark mode is now available""Try it" / "Dismiss"
Warning Banner30-70 chars"Your payment method is expiring soon. Please update""Update" / "Later"
Error Banner30-80 chars"Server connection is unstable. Some features are limited""Retry" / "Details"
Success Banner20-50 chars"Plan upgrade complete""View details" / "Dismiss"
Cookie Consent Banner50-120 chars"This site uses cookies to improve your experience""Accept" / "Settings"

Cookie consent banners, widespread globally due to GDPR, are also the component with the most character count design failures. Banners stuffed with 200+ characters of explanatory text to meet legal requirements occupy a third or more of the screen, severely obstructing content access. Keep cookie banner body text to 50-120 characters and provide details via a link to the "Cookie Policy" page.

Notification Hierarchy Design - Urgency and Character Count

Hierarchical design that selects appropriate components and character counts based on notification urgency is essential. The severity classification explained in error message design applies to notifications broadly.

UrgencyRecommended ComponentChar CountExampleUser Action
Low (confirmation)Toast10-25 chars"Settings saved"None required
Medium (attention)Snackbar / Banner20-60 chars"Storage usage has reached 80%"Optional
High (warning)Banner / Inline Alert30-80 chars"Security update required. Please update in settings"Recommended
Critical (immediate)Modal Dialog50-150 chars"You have unsaved changes. Leave without saving?"Required

Using long text for low-urgency notifications or displaying them in modal dialogs creates a "boy who cried wolf" effect. When unimportant notifications frequently interrupt user workflows, truly important notifications get ignored too. Strictly matching notification urgency with character count and component selection is key to maintaining trust in the entire notification system.

Notification Text as Microcopy

Notification text is a prime example of "microcopy" in UX writing. It requires the skill of condensing situation explanation, emotional consideration, and next-action guidance into a short character count.

Applying effective microcopy principles to notification text:

Notification Text Guidelines in Design Systems

In large applications, multiple teams independently create notification text, causing inconsistencies in character count and tone. Incorporating notification text guidelines into the design system maintains consistency.

Guideline ItemRuleExample
Max character countToast: 40 chars, Banner: 80 chars, Modal: 200 charsAuto-check via lint rules
Sentence endingsStandardize patterns like "...saved" / "Please...""Saved" / "Please update"
PunctuationNo period for toasts, period for banners and above"Saved" vs "Update required."
Icon usageSuccess: ✓, Warning: ⚠, Error: ✕, Info: ℹPlace icon before text
Action buttonsStart with verb. Under 8 chars"Update" / "View details" / "Dismiss"
Technical termsProhibited in user-facing text"HTTP 500" becomes "Server error"

Material Design 3 guidelines specify snackbar text as "1-2 lines." At roughly 40 characters per line (English), this translates to about 30-60 characters for Japanese. Apple's Human Interface Guidelines specify alert messages as "1-2 sentences," corresponding to roughly 30-80 Japanese characters.

Balancing Notification Frequency and Character Count

Notification character count design must consider not just individual notifications but the total volume displayed within a given period. Even if each notification has appropriate character counts, displaying many in rapid succession causes "notification fatigue."

Accessibility and Notification Text

Notification component accessibility is especially important for screen reader users. Visual notifications appear briefly in part of the screen, but screen readers announce them audibly via aria-live attributes.

Set role="status" and aria-live="polite" on toast messages to notify without interrupting the user's current task. Set role="alert" on error notifications for immediate announcement.

Remember that notification text character count directly affects screen reader announcement time. A 40-character toast message takes about 8 seconds at standard speed, or about 3 seconds at 3x speed. Character counts need adjustment to ensure announcements complete within the toast display time (3-5 seconds). Ideally, provide screen reader users with an option to extend toast display time, or a notification history for later review.

You can find UX writing books on Amazon. Systematically learning microcopy techniques dramatically improves notification text quality.

Implementation Checklist

A checklist for translating notification text character count design into implementation:

Platform-Specific Notification Text Constraints

iOS and Android have different in-app notification component specifications. Cross-platform development requires character count design that accounts for both OS constraints.

ElementiOS (UIKit / SwiftUI)Android (Material Design 3)Web (CSS)
ToastNo standard API (custom implementation)Snackbar (1-2 lines, 1 action)Free design
BannerUIBannerView (private API)Banner component (2 lines + 2 actions)Free design
AlertUIAlertController (title + message + buttons)AlertDialog (title + message + up to 3 buttons)Free design
Action SheetUIAlertController (.actionSheet)BottomSheetFree design

iOS lacks a standard component equivalent to Android's Snackbar, so toast notifications require custom implementation. Apple's Human Interface Guidelines recommend subtle displays at the bottom of the screen for temporary feedback, requiring text to be kept to "a glanceable amount." While no specific character count is prescribed, 20-35 Japanese characters is practical.

Material Design 3 specifies Snackbar text as "ideally 1 line, maximum 2 lines." For Japanese, at roughly 20-25 characters per line (based on 360dp screen width), the practical maximum is about 50 characters. Action button labels are recommended as 1 word in English (e.g., "UNDO"), translating to 4-6 Japanese characters (e.g., "元に戻す").

Notification Text Localization Strategy

Multilingual apps must address character count variation when translating notification text. A 20-character Japanese toast message expanding to 45 characters in German is not unusual.

In cross-platform frameworks like React Native or Flutter, attaching maximum character count metadata to i18n library strings and implementing automatic checks during translation is effective. As discussed in Slack message character count design, business tool notification text demands both conciseness and accuracy.

Share this article