Uint8Array base64 and hex conversion
The Uint8Array
object methods fromBase64()
, toBase64()
, and setFromBase64()
convert to and from base64 strings. The fromHex()
, toHex()
, and setFromHex()
methods convert to and from hex strings.
Status
Limited availability
MDN documentation
Specifications
- Uint8Array to/from base64, from TC39 (Ecma International).
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox 133 Released on 2024-11-26
- Firefox for Android 133 Released on 2024-11-26
- Safari 18.2 Released on 2024-12-11
- Safari on iOS 18.2 Released on 2024-12-11
Usage (according to Chrome Platform Status)
~2.123% of page loads. More data at chromestatus.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist