Skip to main content

decodeBase64url() function

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Decodes a base64url string to a utf8 string represented by the same bytes.

Signature:

export declare function decodeBase64url(s: string): string

Parameters

ParameterTypeDescription
sstring

the base64url string to be decoded

This API may change without a BREAKING CHANGE notice.

Returns:

string