Transforms Reference
All 53 transforms with their ids for the CLI and an example of each.
Press Command T in Ferry to transform the selected clip. You see a before-and-after preview, then paste the result, copy it, or save it as a new clip. The original clip never changes. The ids work with the ferry transform command.
| Transform | CLI id | Example |
|---|---|---|
| UPPERCASE | case.upper | ferry → FERRY |
| lowercase | case.lower | FERRY → ferry |
| Title Case | case.title | q3 launch checklist → Q3 Launch Checklist |
| Sentence case | case.sentence | HELLO THERE → Hello there |
| camelCase | case.camel | paste queue → pasteQueue |
| PascalCase | case.pascal | paste queue → PasteQueue |
| snake_case | case.snake | paste queue → paste_queue |
| kebab-case | case.kebab | paste queue → paste-queue |
| CONSTANT_CASE | case.constant | paste queue → PASTE_QUEUE |
| Transform | CLI id | Example |
|---|---|---|
| Trim | text.trim | “ hi ” → “hi” |
| Collapse Whitespace | text.collapseWhitespace | a b → a b |
| Remove Line Breaks | text.removeLineBreaks | two lines → one line |
| Remove Empty Lines | text.removeEmptyLines | drops blank lines |
| Transform | CLI id | Example |
|---|---|---|
| Sort A-Z | lines.sort | b, a → a, b |
| Sort Z-A | lines.sortDescending | a, b → b, a |
| Unique Lines | lines.unique | a, a, b → a, b |
| Reverse Lines | lines.reverse | a, b → b, a |
| Number Lines | lines.number | a → 1. a |
| Join Lines | lines.join | a / b → a, b |
| Wrap Lines | lines.wrap | wraps long lines at 80 characters |
| Transform | CLI id | Example |
|---|---|---|
| Smart Quotes | quotes.smart | "hi" → “hi” |
| Straight Quotes | quotes.straight | “hi” → "hi" |
| Transform | CLI id | Example |
|---|---|---|
| URL Encode | encode.url | a b → a%20b |
| URL Decode | decode.url | a%20b → a b |
| Base64 Encode | encode.base64 | ferry → ZmVycnk= |
| Base64 Decode | decode.base64 | ZmVycnk= → ferry |
| HTML Encode | encode.html | <b> → <b> |
| HTML Decode | decode.html | <b> → <b> |
| Slugify | text.slugify | Release Notes 1.0 → release-notes-1-0 |
| Transform | CLI id | Example |
|---|---|---|
| Escape for JSON | escape.json | say "hi" → say \"hi\" |
| Unescape JSON | unescape.json | say \"hi\" → say "hi" |
| Escape for Shell | escape.shell | it's → 'it'\''s' |
| Escape for Regex | escape.regex | a.b → a\.b |
| Transform | CLI id | Example |
|---|---|---|
| MD5 | hash.md5 | ferry → 7e2f… |
| SHA-1 | hash.sha1 | ferry → 3f1a… |
| SHA-256 | hash.sha256 | ferry → 9c4b… |
| Transform | CLI id | Example |
|---|---|---|
| Clean Tracking from Link | url.clean | removes utm_ and fbclid |
| Query String to List | url.queryToList | ?a=1&b=2 → a = 1, b = 2 |
| Transform | CLI id | Example |
|---|---|---|
| HTML to Markdown | html.toMarkdown | <b>hi</b> → **hi** |
| HTML to Text | html.toText | <b>hi</b> → hi |
| Markdown to HTML | markdown.toHTML | **hi** → <strong>hi</strong> |
| Markdown to Text | markdown.toText | **hi** → hi |
| Transform | CLI id | Example |
|---|---|---|
| Prettify JSON | json.prettify | indents and line-breaks JSON |
| Minify JSON | json.minify | removes whitespace |
| Validate JSON | json.validate | shows the error position |
| Transform | CLI id | Example |
|---|---|---|
| Unix Time to Date | timestamp.toDate | 1763510400 → 19 Nov 2025 |
| Date to Unix Time | date.toTimestamp | 19 Nov 2025 → 1763510400 |
| Convert Color | color.convert | #0A7A82 → rgb(10, 122, 130) |
| Decode JWT | jwt.decode | shows header and claims |
| To Decimal | number.toDecimal | 0xFF → 255 |
| To Hexadecimal | number.toHex | 255 → 0xFF |
| To Binary | number.toBinary | 5 → 0b101 |
| To Octal | number.toOctal | 8 → 0o10 |
53 transforms in total.
Still need help? Email support@ferry.app.