Newly Available
Typed arrays
Uint8Array base64 and hex conversion
The
Uint8Array.fromBase64() static method and the toBase64() and setFromBase64() instance methods convert to and from base64 strings. Similarly, the Uint8Array.fromHex() static method and the toHex() and setFromHex() instance methods convert to and from hex strings.
Baseline Status:
Achieved Newly Available on Sep 5, 2025 across core engines.
Desktop Browser Engine Support
Google Chrome
140
Supported
Mozilla Firefox
133
Supported
Apple Safari
18.2
Supported
Microsoft Edge
140
Supported
Mobile Browser Engine Support
Chrome Android
140
Firefox Android
133
Safari iOS
18.2
Specifications and References
MDN Browser Compat Data Keys:
id: uint8array-base64-hex