coderef

SummarizerLimited availability

The Summarizer API uses an on-device language model to summarize text.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
1–137Not supported
138+Supportedsince Jun 24, 2025
Current: 155
Edge
12–137Not supported
138+Supportedsince Jun 26, 2025
Current: 154
Firefox
✕Not supportedup to 157
Current: 157
Safari
✕Not supportedup to 27
Current: 27
MobileChrome Android
✕Not supportedup to 155
Current: 155
Firefox Android
✕Not supportedup to 157
Current: 157
Safari iOS
✕Not supportedup to 27
Current: 27

How to use

Not supported in Firefox, Safari, Chrome Android, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN: Summarizer.

Feature detection

JS · check before using
if ("Summarizer" in globalThis) {
  // Summarizer is available
} else {
  // load a polyfill or use a fallback
}

Sub-features

Support for each part of the feature (16). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
Summarizer138138✕✕✕✕✕
Summarizer.availability_static138138✕✕✕✕✕
Summarizer.create_static138138✕✕✕✕✕
Summarizer.destroy138138✕✕✕✕✕
Summarizer.expectedContextLanguages138138✕✕✕✕✕
Summarizer.expectedInputLanguages138138✕✕✕✕✕
Summarizer.format138138✕✕✕✕✕
Summarizer.inputQuota138138✕✕✕✕✕
Summarizer.length138138✕✕✕✕✕
Summarizer.measureInputUsage138138✕✕✕✕✕
Summarizer.outputLanguage138138✕✕✕✕✕
Summarizer.sharedContext138138✕✕✕✕✕
Summarizer.summarize138138✕✕✕✕✕
Summarizer.summarizeStreaming138138✕✕✕✕✕
Summarizer.type138138✕✕✕✕✕
http.headers.Permissions-Policy.summarizer138138✕✕✕✕✕