| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder/TextEncoder | [Back] [Original] |
Get to know MDN better
This feature is well established and works across many devices and browser versions. Its been available across browsers since January 2020.
Note: This feature is available in Web Workers.
The TextEncoder() constructor returns a newly created TextEncoder object.
new TextEncoder()
None.
| Specification |
|---|
| Encoding # ref-for-dom-textencoder |
TextEncoder interface it belongs to.This page was last modified on Jun 28, 2025 by MDN contributors.
TextEncoderYour blueprint for a better internet.
Portions of this content are 19982026 by individual mozilla.org contributors. Content available under a Creative Commons license.
| Web Proxy Viewer | New URL | Original Page |