> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/builtins/encoding.md).

# Encoding Functions

Built-in functions for encoding and decoding text. They are always available - no import required.

* **URL encoding** - `encodeURIComponent` / `decodeURIComponent` escape and unescape characters that are unsafe in a URL.
* **Base64** - `btoa` / `atob` convert between raw text and Base64.

The pages below cover each pair.
