Bytepliers Encode tools: Base64, URL, HTML entities, Base32/58/85
Reference for the 10 Bytepliers Encode tools: Base64, URL encoding, HTML entities, escaping, hex, Base64 images, gzip, Text ↔ Binary, Morse & NATO and Base32 / 58 / 85.
Updated 3 min read
On this page
The Encode group holds reversible encodings: text in, encoded text out, and back again. For the other groups, see the Bytepliers tools list.
| Tool | Id | Subtitle |
|---|---|---|
| Base64 | base64 | Encode and decode Base64 text |
| URL Encoder | url | Percent-encode text and inspect query strings |
| HTML Entities | html | Encode and decode HTML entities |
| Escape / Unescape | escape | Backslash, Unicode, shell, SQL and CSV escaping |
| Hex ↔ ASCII | hex | Convert text to hex bytes and back, with a hexdump |
| Base64 Image | base64Image | Preview Base64 and data: URI images |
| GZIP | gzip | Compress and decompress gzip / zlib data |
| Text ↔ Binary | textBinary | Text to binary, octal, decimal and hex character codes and back |
| Morse & NATO | morse | Morse code and the NATO phonetic alphabet, both ways |
| Base32 / 58 / 85 | baseN | Base32, Base58 and Ascii85 / Z85 encoding |
Base64
Id base64, shortcut ⌘2.
- Mode: Encode (default) or Decode. Swap converts the output back.
- URL-safe (Encode only): off by default. When on, it uses
-and_and drops=padding. - Decoding: accepts both alphabets, whitespace and missing padding.
- Transforms: Base64 Encode, Base64 Decode, Base64URL Encode.
URL Encoder
Id url, shortcut ⌘3.
- Mode: Encode (default) or Decode. Encoding follows RFC 3986.
- Space as +: form encoding, off by default.
- Decode view: also shows the URL's Components and a Query table of names and values.
- Transforms: URL Encode, URL Decode.
To turn a whole query string into JSON, use JSON ↔ Query String.
HTML Entities
Id html.
- Mode: Encode (default) or Decode.
- Encode set: Essential (default) encodes
& < > " 'only. Named also writes characters such as © and é as named entities. All non-ASCII uses numeric references. - Decoding: about 250 named entities plus decimal and hex references. Unknown references are left as they are.
- Transforms: HTML Encode, HTML Decode.
Escape / Unescape
Id escape.
- Mode: Escape (default) or Unescape.
- Style: Backslash (JSON / C / Swift) (default), Unicode \uXXXX, JSON string literal, Shell single-quoted, SQL string, CSV field, Regex literal or URL component.
- Unescape: also reads
\xHH,\u{…},\UXXXXXXXX, octal and\e. - Transforms: Backslash Escape, Backslash Unescape, Escape to \uXXXX.
Hex ↔ ASCII
Id hex.
- Mode: Text → Hex (default) or Hex → Text.
- Format (Text → Hex): Spaced (default), Compact, C array, Escaped or Colon. Uppercase is off by default.
- Hexdump: on by default, an xxd-style dump.
- Decoding: accepts any separators and
0xor\xprefixes. - Transforms: Text → Hex, Hex → Text.
Base64 Image
Id base64Image.
- Input: a data URI, a CSS
url()or raw Base64. To make a data URI, drop an image or choose Encode Image… (⌘O). - Output: a preview with format and size, plus Copy Data URI, Copy CSS url() and Save… (⌘S).
- Formats detected: PNG, JPEG, GIF, WebP, BMP, ICO, TIFF, HEIC/AVIF, PDF and SVG.
- Limit: image files up to 10 MB.
Images opened from Finder now go to Image Converter. PDFs still open here.
GZIP
Id gzip.
- Mode: Compress (default) or Decompress.
- Compress options: Format gzip (default), zlib or Raw DEFLATE. Output Base64 (default) or Hex.
- Decompress: takes Base64 or hex input in any of the three formats and checks gzip and zlib checksums. Capped at 64 MB.
- Transforms: Gzip → Base64, Base64 → Gunzip.
Text ↔ Binary
Id textBinary. New in 1.1.
- Mode: Text → Codes (default) or Codes → Text. Swap converts back.
- Base: Binary (default), Octal, Decimal or Hex.
- Unit: what each number stands for: UTF-8 Bytes (default), UTF-16 Units or Code Points.
- Options: Separator Space (default), None, Comma or New Line. Pad With Zeros (on), 0b / 0o / 0x Prefixes (off) and Uppercase Hex (on).
- Decode Instead: appears when the text you're encoding already looks like binary or hex codes.
- Limit: 64 MB.
Morse & NATO
Id morse. New in 1.1.
- Alphabet: Morse (default) or NATO phonetic alphabet.
- Direction: Auto (default) detects Morse or NATO input and decodes it, otherwise it encodes. Text → Code and Code → Text force a direction.
- Symbols (Morse): ASCII
. -(default) or· −. - Transform: Text → Morse (
text-to-morse).
Base32 / 58 / 85
Id baseN. New in 1.1.
- Mode: Encode (default) or Decode. Swap converts back.
- Encoding: Base32 (default), Base32 Hex, Base58, Base58Check, Ascii85 or Z85. Your last choice is remembered.
- Input (Encode): Text (UTF-8) or Hex Bytes. When decoding, Show As Text (Auto) or Hex Bytes.
- Padding (Base32 and Base32 Hex): pads to a multiple of 8 with
=, on by default. For Ascii85 the same switch wraps the output in Adobe<~ ~>delimiters. - Base58Check: adds and verifies the 4-byte checksum, as used in Bitcoin addresses.
- Transforms: Base32 Encode, Base32 Decode, Base58 Encode, Base58 Decode.