← Pencilbox
Codec
encode & decode text
build v6.0
Codec encodes and decodes the formats you run into every day — Base64, URL escapes, and HTML entities — and decodes JWT tokens so you can read what's inside them. Pick a format, choose a direction, and the result updates as you type. Everything runs in your browser; nothing is uploaded.
Input
Output

Base64 encoding handles full Unicode text (UTF-8) and understands both standard and URL-safe alphabets when decoding. URL mode uses the browser's own percent-encoding. HTML mode encodes the characters that matter for markup by default, with options for named entities and for encoding every non-ASCII character, and decodes both named and numeric entities. JWT decoding only reads the token — it does not check the signature, so never trust a token's contents without verifying it on your server. Everything runs on your device; nothing is uploaded.