DecompressionStreamBaseline 2023Newly availableSince May 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.Learn moreSee full compatibilityReport feedbackNote: This feature is available in Web Workers. The DecompressionStream interface of the Compression Streams API is an API for decompressing a stream of data.Constructor DecompressionStream() Creates a new DecompressionStream Instance properties DecompressionStream.readable Returns the ReadableStream instance controlled by this object. DecompressionStream.writable Returns the WritableStream instance controlled by this object. ExamplesIn this example a blob is decompressed using gzip compression. jsconst ds = new DecompressionStream("gzip"); const decompressedStream = blob.stream().pipeThrough(ds); SpecificationsSpecificationCompression # decompression-streamBrowser compatibilitydesktopmobileserverChromeEdgeFirefoxOperaSafariChrome AndroidFirefox for AndroidOpera AndroidSafari on iOSSamsung InternetWebView AndroidWebView on iOSDenoNode.jsDecompressionStreamChrome – Full supportChrome80Toggle historyEdge – Full supportEdge80Toggle historyFirefox – Full supportFirefox113Toggle historyOpera – Full supportOpera67Toggle historySafari – Full supportSafari16.4Toggle historyChrome Android – Full supportChrome Android80Toggle historyFirefox for Android – Full supportFirefox for Android113Toggle historyOpera Android – Full supportOpera Android57Toggle historySafari on iOS – Full supportSafari on iOS16.4Toggle historySamsung Internet – Full supportSamsung Internet13.0Toggle historyWebView Android – Full supportWebView Android80Toggle historyWebView on iOS – Full supportWebView on iOS16.4Toggle historyDeno – Full supportDeno1.19Toggle historyNode.js – Full supportNode.js18.0.0moreToggle historyDecompressionStream() constructorChrome – Full supportChrome80Toggle historyEdge – Full supportEdge80Toggle historyFirefox – Full supportFirefox113Toggle historyOpera – Full supportOpera67Toggle historySafari – Full supportSafari16.4Toggle historyChrome Android – Full supportChrome Android80Toggle historyFirefox for Android – Full supportFirefox for Android113Toggle historyOpera Android – Full supportOpera Android57Toggle historySafari on iOS – Full supportSafari on iOS16.4Toggle historySamsung Internet – Full supportSamsung Internet13.0Toggle historyWebView Android – Full supportWebView Android80Toggle historyWebView on iOS – Full supportWebView on iOS16.4Toggle historyDeno – Full supportDeno1.19Toggle historyNode.js – Full supportNode.js17.0.0Toggle history"deflate" compressionChrome – Full supportChrome80Toggle historyEdge – Full supportEdge80Toggle historyFirefox – Full supportFirefox113Toggle historyOpera – Full supportOpera67Toggle historySafari – Full supportSafari16.4Toggle historyChrome Android – Full supportChrome Android80Toggle historyFirefox for Android – Full supportFirefox for Android113Toggle historyOpera Android – Full supportOpera Android57Toggle historySafari on iOS – Full supportSafari on iOS16.4Toggle historySamsung Internet – Full supportSamsung Internet13.0Toggle historyWebView Android – Full supportWebView Android80Toggle historyWebView on iOS – Full supportWebView on iOS16.4Toggle historyDeno – Full supportDeno1.19Toggle historyNode.js – Full supportNode.js17.0.0Toggle history"deflate-raw" compressionChrome – Full supportChrome103Toggle historyEdge – Full supportEdge103Toggle historyFirefox – Full supportFirefox113Toggle historyOpera – Full supportOpera89Toggle historySafari – Full supportSafari16.4Toggle historyChrome Android – Full supportChrome Android103Toggle historyFirefox for Android – Full supportFirefox for Android113Toggle historyOpera Android – Full supportOpera Android71Toggle historySafari on iOS – Full supportSafari on iOS16.4Toggle historySamsung Internet – Full supportSamsung Internet20.0Toggle historyWebView Android – Full supportWebView Android103Toggle historyWebView on iOS – Full supportWebView on iOS16.4Toggle historyDeno – Full supportDeno1.23Toggle historyNode.js – Full supportNode.js21.2.0moreToggle history"gzip" compressionChrome – Full supportChrome80Toggle historyEdge – Full supportEdge80Toggle historyFirefox – Full supportFirefox113Toggle historyOpera – Full supportOpera67Toggle historySafari – Full supportSafari16.4Toggle historyChrome Android – Full supportChrome Android80Toggle historyFirefox for Android – Full supportFirefox for Android113Toggle historyOpera Android – Full supportOpera Android57Toggle historySafari on iOS – Full supportSafari on iOS16.4Toggle historySamsung Internet – Full supportSamsung Internet13.0Toggle historyWebView Android – Full supportWebView Android80Toggle historyWebView on iOS – Full supportWebView on iOS16.4Toggle historyDeno – Full supportDeno1.19Toggle historyNode.js – Full supportNode.js17.0.0Toggle historyreadableChrome – Full supportChrome80Toggle historyEdge – Full supportEdge80Toggle historyFirefox – Full supportFirefox113Toggle historyOpera – Full supportOpera67Toggle historySafari – Full supportSafari16.4Toggle historyChrome Android – Full supportChrome Android80Toggle historyFirefox for Android – Full supportFirefox for Android113Toggle historyOpera Android – Full supportOpera Android57Toggle historySafari on iOS – Full supportSafari on iOS16.4Toggle historySamsung Internet – Full supportSamsung Internet13.0Toggle historyWebView Android – Full supportWebView Android80Toggle historyWebView on iOS – Full supportWebView on iOS16.4Toggle historyDeno – Full supportDeno1.19Toggle historyNode.js – Full supportNode.js17.0.0Toggle historywritableChrome – Full supportChrome80Toggle historyEdge – Full supportEdge80Toggle historyFirefox – Full supportFirefox113Toggle historyOpera – Full supportOpera67Toggle historySafari – Full supportSafari16.4Toggle historyChrome Android – Full supportChrome Android80Toggle historyFirefox for Android – Full supportFirefox for Android113Toggle historyOpera Android – Full supportOpera Android57Toggle historySafari on iOS – Full supportSafari on iOS16.4Toggle historySamsung Internet – Full supportSamsung Internet13.0Toggle historyWebView Android – Full supportWebView Android80Toggle historyWebView on iOS – Full supportWebView on iOS16.4Toggle historyDeno – Full supportDeno1.19Toggle historyNode.js – Full supportNode.js17.0.0Toggle history