# Encoding

> Skill `encoding` on Faro. Free. 0 sub-skills.

Encodes and decodes data between formats: base64, URL encoding, hashing (SHA-256, MD5, etc.), UUID generation, and JWT decoding. Runs locally with no charge.

**Category:** Developer Tools  
**Tags:** encoding, hashing, base64, uuid, jwt, hex  
**Use when:** You need an exact digest, encoded string, UUID, or JWT payload the model should not guess.  
**Not for:** Verifying a JWT signature, encrypting data, or decoding formats other than base64 or URL.  
**Returns:** information

## How to run
Skills run through one gateway with your Faro token. Hand it an `intent` in plain language; Faro routes to the right sub-skill, runs it, and bills per call. Raw tools are internal plumbing and are not directly callable.

```
POST https://skill.askfaro.com/skills/encoding/run
Authorization: Bearer faro_<your_key>
Content-Type: application/json

{"intent":{"prompt":"Base64 encode this string: Hello World"}}
```

Or from the CLI:

```bash
pip install askfaro-cli && askfaro auth login
askfaro run encoding "Base64 encode this string: Hello World"
```

Full run reference: https://askfaro.com/llms/run.md — Agent recipe: https://askfaro.com/llms/skill.md

## Example requests

- Base64 encode this string: Hello World
- What's the SHA-256 hash of this text?
- Generate a random UUID

## What it can do

- Hash text with md5, sha1, sha256, or sha512 (hex and base64 out).
- Base64 encode or decode text, standard or URL-safe.
- URL percent-encode or decode text.
- Generate version 4 or version 7 UUIDs.
- Decode a JWT's header and payload without verifying the signature.

---
On the web: https://askfaro.com/search/encoding