Functions to encode and decode base64url strings (URL-safe variant of base64).
Scanned 9/12/2026
Install to Claude Code
npx -y skills add ali-master/skills --skill orpc-base64url --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Orpc Base64url?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ali-master-orpc-base64url)More formats (shields.io, HTML) on the badges page.
---
name: oRPC Base64Url Helpers
description: Functions to encode and decode base64url strings (URL-safe variant of base64).
license: MIT
metadata:
author: Ali Torki
homepage: https://github.com/ali-master
version: "1.0.0"
---
# Base64Url Helpers
Base64Url helpers provide functions to encode and decode base64url strings, a URL-safe variant of base64 encoding used in web tokens, data serialization, and APIs.
```ts
import { decodeBase64url, encodeBase64url } from '@orpc/server/helpers'
const originalText = 'Hello World'
const textBytes = new TextEncoder().encode(originalText)
const encodedData = encodeBase64url(textBytes)
const decodedBytes = decodeBase64url(encodedData)
const decodedText = new TextDecoder().decode(decodedBytes) // 'Hello World'
```
> `decodeBase64url` accepts `undefined` or `null` and returns `undefined` for invalid inputs.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.