Skip to content
86% off$349 $48.86code BF2026

Docs

Bytepliers docs37 pages

Shortcuts, Services, Raycast and Alfred in Bytepliers

Use Bytepliers from the Shortcuts app, the Services menu, Raycast and Alfred: the three actions, how to add a Services hotkey, and what needs the CLI.

Updated 7 min read

On this page

This page shows how to run Bytepliers tools from outside its window: Bytepliers actions in the Shortcuts app, the two items in every app's Services menu, and the Raycast and Alfred exports. Each section has a worked example and the limits you'll hit.

Before you start

  • License or trial. Shortcuts actions and Services need an active trial or a MacSuite license. Without one they fail with "Bytepliers needs a license or an active trial." Each MacSuite app has its own 7-day trial on each Mac.
  • Recipes. The Run Bytepliers Recipe action and the Raycast recipe scripts run recipes you saved in Pipelines. To make one, see Pipelines and recipes.
  • Command-line tool. Raycast recipe scripts and the Alfred workflow call the bytepliers command. Shortcuts and Services do not. See What needs the command-line tool.

Bytepliers actions in the Shortcuts app

Bytepliers adds three actions to the Shortcuts app. All three take text and return text.

ActionParametersWhat it does
Transform TextText, Transform (default: Format JSON)Runs one Bytepliers transform on the text.
Detect and TransformTextDetects what the text is (JWT, JSON, timestamp, SQL, cURL…) and applies the most useful transform.
Run Bytepliers RecipeRecipe Name, TextRuns a saved Pipelines recipe. The name is matched case-insensitively.

Bytepliers also provides three App Shortcuts with the phrases "Detect and transform with Bytepliers", "Transform text with Bytepliers" and "Run a Bytepliers recipe" (short titles Detect & Transform, Transform Text and Run Recipe).

Example: decode the JWT on your clipboard

  1. Open the Shortcuts app and create a new shortcut.
  2. Add the Get Clipboard action.
  3. Search the action list for "Bytepliers" and add Transform Text.
  4. Set Transform to JWT Payload, and set Text to the clipboard output from step 2.
  5. Add Copy to Clipboard.
  6. Copy a JWT and run the shortcut. The clipboard now holds the payload JSON.

If you don't know in advance what will be on the clipboard, add Detect and Transform in step 3 instead and skip step 4.

Transforms available in Transform Text

Transform Text offers 53 of the 94 Bytepliers transforms:

  • JSON and data: Format JSON, Minify JSON, YAML → JSON, JSON → YAML, JSON → CSV, CSV → JSON, XML → JSON, TOML → JSON, JSON → TOON, HTML → Markdown, CSV → Markdown Table, Flatten JSON, JSON Lines → Array
  • Encode and decode: Base64 Encode, Base64 Decode, URL Encode, URL Decode, HTML Encode, HTML Decode, JWT Payload, Backslash Escape, Backslash Unescape, Text → Hex, Hex → Text, Gzip → Base64, Base64 → Gunzip, Base32 Encode, Base32 Decode, Domain → Punycode, Punycode → Unicode
  • Hash: SHA-256, MD5
  • Case: camelCase, snake_case, kebab-case, UPPERCASE, lowercase
  • Lines: Sort Lines, Remove Duplicate Lines
  • Format code: Format SQL, Minify SQL, Format XML, Minify XML, Markdown → HTML
  • Convert: cURL → Swift, cURL → fetch, cURL → Python, Timestamp → ISO 8601, Remove Invisible Characters
  • Text: Slugify, ROT13, Clean Whitespace, Strip Punctuation

Transforms that take an argument aren't offered, so jq Filter, JSONPath Query, Regex Replace, Find & Replace and Prefix Each Line are missing. Some argument-free transforms are missing too, including JWT Header, SHA-1, SHA-512, PascalCase, the HTML, CSS and JavaScript beautifiers, and some 1.1 transforms such as Reverse Text, Text → Morse, JSON → XML, Base58 Encode and PHP Unserialize.

To use any of those from Shortcuts, build a recipe in Pipelines that contains the step (with its argument filled in), save it, and call it with Run Bytepliers Recipe.

Shortcuts errors

  • "Nothing recognised in the text." Detect and Transform found no match. Use Transform Text with a specific transform.
  • "No recipe named “…”." Check the recipe's exact name in Pipelines.
  • "Step N failed: …" A recipe step failed. Recipes stop at the first failing step, and each step accepts at most 2 MB of input.
  • "Bytepliers needs a license or an active trial." Enter your key in the MacSuite License window (app menu ▸ Enter License…).

Inspect and Transform with Bytepliers in the Services menu

Bytepliers adds two items to every app's Services menu for selected text:

ServiceWhat it does
Inspect with BytepliersOpens Bytepliers on the best-matching tool with the selected text loaded. Other candidate tools stay in the detection strip. If nothing is recognised, the text opens in String Inspector.
Transform with BytepliersApplies the Detect & Replace transform and replaces the selection in place. Your clipboard is not touched.

To use one:

  1. Select text in any app.
  2. Open the app menu (the menu named after the app) and choose Services.
  3. Choose Inspect with Bytepliers or Transform with Bytepliers.

Transform with Bytepliers replaces the selection, so use it on text you can edit. Some of the transforms it picks:

Selected textBecomes
JWTPayload JSON
Multi-line JSON / single-line JSONMinified / formatted JSON
Unix timestampISO 8601
DateUnix seconds
cURL commandSwift URLSession code
Base64Decoded text
URLDecoded URL
SQLFormatted SQL
YAML or CSVJSON
Hex color starting with #rgb()
Cron scheduleDescription
Text with invisible charactersSame text, invisibles removed

For the full list, see Quick Panel, Instant Replace and the menu bar.

Services errors

  • "No text was selected." Select text first.
  • "Bytepliers didn't recognise the selection." Transform with Bytepliers also beeps and shows "Nothing to transform" / "Try Services ▸ Inspect with Bytepliers". Inspect opens the text in the window, where you can switch to the tool you want.
  • "The selection is too large to transform in place." The selection is over 2 MB. Use Inspect with Bytepliers or open it in the main window instead.
  • "Bytepliers needs a license or an active trial." Enter your license key, as above.

If the two items don't appear in the Services menu, open System Settings, go to Keyboard, click Keyboard Shortcuts…, choose Services, and make sure the Bytepliers items are turned on.

Assign a keyboard shortcut to a Service

The Bytepliers Services have no default keyboard shortcut. You add one in System Settings:

  1. In Bytepliers, open Settings with Command-Comma (⌘,) and click the Shortcuts tab.
  2. Under Services, click Keyboard Shortcuts…. System Settings opens on Keyboard.
  3. Click Keyboard Shortcuts… and choose Services in the sidebar.
  4. Find Inspect with Bytepliers or Transform with Bytepliers and make sure its checkbox is on.
  5. Double-click the area to the right of the item's name and press the key combination you want.

Choose a combination the apps you work in don't already use, or the Service may not fire in those apps.

Export Raycast script commands

Bytepliers writes Raycast script commands for you:

  1. Open Settings ▸ Integrations.
  2. Under Launchers, next to Raycast, click Export Script Commands….
  3. Pick a location when asked. Bytepliers writes a folder named Bytepliers Script Commands.
  4. Add that folder to Raycast as a script commands directory (Raycast's own documentation shows where).

The folder contains:

  • One script per tool, titled with the tool's name, with an optional Input argument. It runs open bytepliers://open/<tool>, adding ?input=… when you type something. Example: run "JWT Decoder" from Raycast, paste a token as the input, and Bytepliers opens on JWT Decoder with the token loaded.

  • One script per saved recipe. It runs:

    bash
    pbpaste | bytepliers recipe "<name>" | pbcopy

    This reads the clipboard, runs the recipe through the command-line tool and copies the result back, then shows "Copied the result to the clipboard".

The scripts use the package name Bytepliers. They are a snapshot, so export again after adding recipes or moving Bytepliers to another folder.

Install the Alfred workflow

  1. Open Settings ▸ Integrations.
  2. Under Launchers, next to Alfred, click Export Workflow….
  3. Save the file. It's named Bytepliers.alfredworkflow.
  4. Open the saved file to add the workflow to Alfred.

To use it, type the keyword bp in Alfred, pick a tool or recipe from the list, and press Return. The list comes from bytepliers list --alfred; your choice opens the matching bytepliers:// link.

Picking a recipe never silently rewrites your clipboard. Depending on the recipe, Bytepliers either opens it in Pipelines on your clipboard text or asks "Run “<name>” on your clipboard?" with Open in Pipelines as the default button. As with Raycast, export the workflow again after adding recipes or moving Bytepliers.

What needs the command-line tool

IntegrationNeeds the bytepliers command?
Shortcuts actionsNo
Services menuNo
Raycast tool scriptsNo (they open bytepliers:// links)
Raycast recipe scriptsYes
Alfred workflowYes (its list comes from bytepliers list --alfred)

To install the command:

  1. Open Settings ▸ Integrations ▸ Command-Line Tool and click Install….
  2. Choose Install in /usr/local/bin… (you're asked for an administrator password only if that folder isn't writable) or Install in ~/.local/bin (no password, but the folder must be on your shell's PATH).

The command also needs a license pass that the app writes and refreshes whenever Bytepliers becomes active. If you see "Open Bytepliers once to enable the command-line tool.", open the app. Full details are in The bytepliers command-line tool.

Troubleshooting

  • A Shortcuts action or Service says "Bytepliers needs a license or an active trial." The trial has ended on this Mac and no key is entered. Use Enter License… in the app menu.
  • The transform you need isn't in Transform Text. Put it in a Pipelines recipe and use Run Bytepliers Recipe.
  • The Services items are missing or have no shortcut. Turn them on and assign keys in System Settings ▸ Keyboard ▸ Keyboard Shortcuts… ▸ Services.
  • A new recipe doesn't appear in Raycast or Alfred. Export the script commands or workflow again.
  • Raycast or Alfred stopped working after you moved Bytepliers. Export again so the scripts point at the new location.
  • A recipe script or the Alfred list fails with "Bytepliers needs a license or an active trial. Open Bytepliers to continue." The command-line pass has run out (it lasts until the trial ends, or 30 days when licensed). Open Bytepliers to refresh it.
  • The bytepliers command isn't found after installing into ~/.local/bin. Add ~/.local/bin to your shell's PATH, or install into /usr/local/bin instead.

Every app.
One purchase.