Baseline Widely other

Text encoding and decoding

The TextEncoder API transforms a stream of code points into a byte stream with UTF-8 encoding, and TextDecoder does the reverse.

Baseline Status
Widely Available
Since 2020-01-15
First Core Launch
Firefox 19
2013-02-19
Core-3 Stability
1,497d (4.1y)
Last: Safari (2017-03-27)
BCD Keys Mapped
25
Group: other

Browser Support Timeline

Firefox v19 (2013-02-19) Firefox for Android v19 (2013-02-19) Chrome v38 (2014-10-07) Chrome Android v38 (2014-10-08) Safari v10.1 (2017-03-27) Safari on iOS v10.3 (2017-03-27) Edge v79 (2020-01-15)
Green dot marks the first browser release (2013-02-19); blue dots show subsequent browser launches (+2521d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Firefox desktop 19 2013-02-19
Firefox for Android mobile 19 2013-02-19
Chrome desktop 38 2014-10-07
Chrome Android mobile 38 2014-10-08
Safari desktop 10.1 2017-03-27
Safari on iOS mobile 10.3 2017-03-27
Edge desktop 79 2020-01-15

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
api.TextDecoder DOM API 1,497d (4.1y)
api.TextDecoder.TextDecoder DOM API 1,497d (4.1y)
api.TextDecoder.decode DOM API 1,497d (4.1y)
api.TextDecoder.encoding DOM API 1,497d (4.1y)
api.TextDecoder.fatal DOM API 902d (2.5y)
api.TextDecoder.ignoreBOM DOM API 1,477d (4.0y)
api.TextDecoder.worker_support DOM API 1,455d (4.0y)
api.TextDecoderStream DOM API 1,386d (3.8y)
api.TextDecoderStream.TextDecoderStream DOM API 1,386d (3.8y)
api.TextDecoderStream.encoding DOM API 1,386d (3.8y)
api.TextDecoderStream.fatal DOM API 1,386d (3.8y)
api.TextDecoderStream.ignoreBOM DOM API 1,386d (3.8y)
api.TextDecoderStream.readable DOM API 1,386d (3.8y)
api.TextDecoderStream.writable DOM API 1,386d (3.8y)
api.TextEncoder DOM API 1,539d (4.2y)
api.TextEncoder.TextEncoder DOM API 1,539d (4.2y)
api.TextEncoder.encode DOM API 1,539d (4.2y)
api.TextEncoder.encodeInto DOM API 769d (2.1y)
api.TextEncoder.encoding DOM API 1,539d (4.2y)
api.TextEncoder.worker_support DOM API 1,455d (4.0y)
api.TextEncoderStream DOM API 1,386d (3.8y)
api.TextEncoderStream.TextEncoderStream DOM API 1,386d (3.8y)
api.TextEncoderStream.encoding DOM API 1,386d (3.8y)
api.TextEncoderStream.readable DOM API 1,386d (3.8y)
api.TextEncoderStream.writable DOM API 1,386d (3.8y)