Bytepliers Inspect tools: JWT, regex, diff, lists, chmod, SemVer
Reference for the 7 Bytepliers Inspect tools: JWT Decoder, Regex Tester, Text Diff, List Compare, String Inspector, Unix Permissions and SemVer Checker, with limits.
Updated 3 min read
On this page
The Inspect group holds tools that look inside a value or compare two. Certificate Decoder moved to the Security group and Cron Explainer to Time & Numbers in 1.1. For the other groups, see the Bytepliers tools list.
| Tool | Id | Subtitle |
|---|---|---|
| JWT Decoder | jwt | Inspect JSON Web Token header and claims |
| Regex Tester | regex | Test regular expressions with live matches |
| Text Diff | diff | Compare two texts: line and character changes, side by side |
| List Compare | listCompare | Set operations on two lists: only in A, only in B, both, union |
| String Inspector | stringInspector | Code points, UTF-8 bytes, graphemes and invisibles |
| Unix Permissions | permissions | chmod calculator: rwx, octal and umask |
| SemVer Checker | semver | Compare, sort and bump versions; test ranges like ^1.2 or ~2.0 |
JWT Decoder
Id jwt, shortcut ⌘4.
- Decode tab: shows the Header and Payload with an Expired, Not Yet Valid, Valid or No Expiry badge. A Bearer prefix is fine. The Signature pane verifies with a Secret (UTF-8, Base64 or Hex) or a Public key (PEM, Base64 DER, JWK or JWK Set).
- Encode tab: signs a token with HS256/384/512, RS256/384/512, PS256/384/512, ES256/384/512 or EdDSA (Ed25519), using a secret or a private key.
- Keys: never saved. Remember keys (off by default) keeps them only until you quit.
- History: inputs aren't recorded unless you turn on Also record inputs that look like secrets in Settings ▸ History. Copied results are marked as concealed.
- Transforms: JWT Payload, JWT Header.
Regex Tester
Id regex, shortcut ⌘8.
- Mode: Match (default), Replace or List. Patterns use ICU (NSRegularExpression) syntax.
- Flags:
i,m,sandx. - Templates:
$0to$99,${name}and\n. - Cheat Sheet (⌘/): inserts syntax at the cursor.
- Insert into Pipeline: adds the pattern as a step and opens Pipelines.
- Limits: live matching stops after 250 ms, which usually means catastrophic backtracking. Match and List show at most 1,000 matches.
- Transforms: Regex Replace, Regex Extract Matches, Regex List Matches, Find & Replace.
For several replacements in a row, see Find & Replace.
Text Diff
Id diff.
- Input: two panes, Original and Changed. Use the pencil to rename them.
- Layout: Unified (default) or Side by Side.
- Options: Highlight Changes By Characters (default) or Words. Ignore Whitespace and Ignore Case are off; Ignore Line Endings is on.
- Copy Diff (⇧⌘C): copies a unified diff you can use with
patchorgit apply. - Moving between changes: ⌥⌘↑ for the previous change, ⌥⌘↓ for the next.
- Limits: 10 MB per side. Heavily different inputs fall back to an approximate diff.
- From Finder or the Dock: two text files opened together open here.
List Compare
Id listCompare.
- Input: List A and List B, one item per line.
- Result tabs: Only in A (default), Only in B, In both and Union, each with a count.
- Options: Ignore Case and Sort Results are off; Trim Whitespace and Ignore Empty Lines are on.
- Transforms: Lines Not in List, Lines Also in List.
String Inspector
Id stringInspector.


- Stats: characters, scalars, UTF-16 units, UTF-8 bytes, lines, words, non-ASCII and invisible characters, and line endings.
- Graphemes table: code points, Unicode names and UTF-8 hex for the first 2,000 graphemes.
- Invisible characters: zero-width characters, BOM, bidi controls, non-breaking and other unusual spaces are highlighted.
- Copy Revealed: copies the text with invisibles written as
⟨U+200B⟩. Remove Invisibles deletes them. - Transform: Remove Invisible Characters.
Unix Permissions
Id permissions.
- Accepts: octal (
755,4755),rwxr-xr-x,ls -lstrings, orchmodexpressions such asu+x,g-wapplied to the current mode. - Presets: 644, 600, 755, 700, 775, 777, 400, 1777, 2775 and 4755.
- Output: a read/write/execute grid with setuid, setgid and sticky toggles, the
ls -lstring, a plain-English explanation andchmodcommands. A Directory (d) toggle is included. - umask panel: default 022, showing the resulting modes for new files and folders.
SemVer Checker
Id semver. New in 1.1.
- Input: one version per line. The list is checked against the range you type, with a ✓ or ✗ per version and the highest match.
- Range syntax: npm (default):
^,~, x-ranges, hyphen ranges,||and partial comparators. Cargo: a bare1.2.3means^1.2.3and commas mean AND. Composer:~1.2means>=1.2 <2.0and|means OR. - Options menu: Include Pre-releases (off; as in npm, a pre-release only matches a comparator on the same version unless this is on) and Newest First (off; sorts ascending).
- Bumps: shows the next major, minor, patch, premajor, preminor, prepatch and prerelease versions, with an optional pre-release identifier. Bumps follow npm's
semver.inc. - Parsing: strict SemVer 2.0.0; a leading
vor=is fine. - Limit: the first 10,000 lines.
Related
- Bytepliers tools list
- JSON tools (JSON Compare)
- Security tools (Certificate Decoder)