Skip to content

Function.decodeBase64Url

github-actions[bot] edited this page Nov 18, 2026 · 13 revisions

umt / decodeBase64Url

Function: decodeBase64Url()

decodeBase64Url(base64UrlString): string

Defined in: String/decodeBase64Url.ts:10

Converts URL-safe Base64 (RFC 4648 section 5) to string

Parameters

base64UrlString

string

URL-safe Base64 encoded string, with or without "=" padding

Returns

string

Decoded string from URL-safe Base64

Examples

decodeBase64Url("SGVsbG8gV29ybGQ"); // "Hello World"
decodeBase64Url("SGVsbG8gV29ybGQ="); // "Hello World"

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally