Flow: Build Data Transformation Pipelines
Decode, transform, hash, filter and convert text by stacking steps — Base64 → gunzip → JSON → JSONPath, or CSV → JSON → filter → Markdown table. More than 200 operations, Fork and Merge to run steps on each line, breakpoints to step through a recipe, line-by-line streaming for files too big to open, magic detection of what you pasted, and recipes you can share as a link or send to another tool.
One recipe instead of five tabs
Most developer-tool sites make you decode in one tab, paste into another to format, and into a third to query. Flow keeps the data in one place and lets you stack the operations: every step reads the previous step's output, shows its own result inline, and reports an error without disturbing the steps above it. Change an argument and the whole chain re-runs.
Magic detection
Paste something and Flow guesses what it is — a JWT, gzip inside Base64, percent-encoding, HTML entities, a Unix timestamp, CSV, YAML, a URL, a defanged indicator — and offers the step that opens it. Click the chip and keep going: after a Base64 decode that reveals JSON, the next suggestion is to format or query it.
Recipes that travel
A recipe is a small JSON document. Copy it, paste it, or share a link that carries both the recipe and the input in the URL fragment — nothing is stored on a server, and the person who opens the link sees the same chain and the same result.
More than 200 operations
Encoding (Base64, Base32, Base45, Base58, Base62, Base85, basE91, hex, octal, URL, HTML, Unicode, punycode, quoted-printable, Morse, Braille, hexdump, charsets, gzip, JWT, file type detection), ciphers (ROT13/47, Vigenère, affine, rail fence, Bacon, XOR and XOR brute force, RC4, AES with your own key and IV), hashing (MD4/5, SHA-1/2/3, Keccak, BLAKE2/3, RIPEMD, Whirlpool, SM3, NTLM, CRC-8/16/32/32C/64, Adler, Fletcher, xxHash, Murmur, FNV, bcrypt, scrypt, Argon2, PBKDF2), text, data (JSON, JSON Lines, JSONPath, JMESPath, YAML, TOML, XML, CSV columns, filters and sorting, TypeScript types), time, numbers, networking, code and JWT/TOTP. The count under the search box is read from the operation list itself.
Local by construction
Every operation is JavaScript in this page, with hashing and encryption done by the browser's Web Crypto API. The input you paste, the keys you type into an HMAC or AES step and the output never leave the tab. The privacy indicator in the header counts network requests the page makes; it stays at zero while you work.
Preset recipes
Each preset loads a sample input and a recipe that solves a real, recurring problem. Run one, then edit a step or add your own.
Every operation
Operations take text in and produce text out, so any step can follow any other. Arguments are small and explicit — a delimiter, a regex, a hash name, a password — and every argument is stored in the recipe.
| Group | Operation | What it does | Arguments |
|---|---|---|---|
| Encoding | Base64 encode | UTF-8 text to Base64 (standard or URL-safe alphabet). | URL-safe (no padding) |
Base64 decode | Base64 or base64url to text. Binary results are shown as a hex dump. | — | |
Hex encode | UTF-8 bytes as lowercase hexadecimal. | Separator | |
Hex decode | Hexadecimal (with or without separators, 0x) to text. | — | |
Base32 encode | RFC 4648 Base32. | — | |
Base32 decode | RFC 4648 Base32 to text. | — | |
URL encode | Percent-encode for a query component, or only characters a full URL cannot contain. | Mode | |
URL decode | Percent-decoding; + becomes a space in form mode. | + is a space | |
HTML escape | Escape &, <, >, " and ' as entities. | — | |
HTML unescape | Decode named, decimal and hex entities. | — | |
Unicode escape | Non-ASCII characters as \uXXXX (surrogate pairs for astral code points). | — | |
Unicode unescape | Turn \uXXXX, \u{X}, \xXX and \n style escapes back into characters. | — | |
Escape as JSON string | Wrap the text in a JSON string literal. | — | |
Unescape JSON string | Parse a JSON string literal (quotes optional) back to text. | — | |
Binary encode | Each byte as 8 bits. | — | |
Binary decode | Groups of 8 bits to text. | — | |
To char codes | Unicode code points of each character. | Base | |
From char codes | Decimal or U+hex code points to text. | — | |
ROT13 / ROT-N | Rotate letters by N (13 is its own inverse). | Rotate by | |
Gzip compress | Gzip the text and emit Base64 (what many APIs and log shippers carry). | Algorithm | |
Gzip decompress | Base64 (or hex) of gzip/deflate data back to text. | Algorithm | |
JWT decode | Header and payload of a JSON Web Token as JSON (no verification). | — | |
| Hashing | MD5 | MD5 digest (legacy checksums only). | Output |
SHA-1 | SHA-1 digest of the UTF-8 bytes. | Output | |
SHA-256 | SHA-256 digest of the UTF-8 bytes. | Output | |
SHA-384 | SHA-384 digest of the UTF-8 bytes. | Output | |
SHA-512 | SHA-512 digest of the UTF-8 bytes. | Output | |
HMAC | Keyed hash with a secret. | Hash, Key, Output | |
CRC32 | CRC-32 checksum (as used by zip and PNG). | — | |
Hash each line | One SHA-256 (or other) digest per line, tab-separated. | Hash | |
| Text | Change case | Upper, lower, title, sentence, camelCase, snake_case, kebab-case, CONSTANT. | To |
Trim | Remove leading/trailing whitespace from the whole text or each line. | Mode | |
Find & replace | Literal or regular-expression replace with $1 groups. | Find, Replace with, Regex, Flags | |
Extract matches | Every regex match (or a group) on its own line. | Regex, Group (0 = whole match), Unique only | |
Filter lines | Keep or drop lines matching a pattern. | Pattern, Mode, Regex, Ignore case | |
Sort lines | Alphabetical, natural (numbers in order), numeric, by length, or shuffle. | Order, Ignore case | |
Unique lines | Remove duplicate lines (optionally with counts). | Prefix counts, Ignore case | |
Remove empty lines | Drop blank (or whitespace-only) lines. | — | |
Number lines | Prefix each line with its number. | Start at, Separator | |
Head / tail | Keep the first or last N lines. | Keep, Lines | |
Reverse | Reverse characters, or the order of lines. | Mode | |
Split / join | Split on a delimiter into lines, or join lines with a delimiter. | Mode, Delimiter | |
Cut column | Pick one column from delimited lines (like cut -d -f). | Delimiter, Column (1-based, negative from end) | |
Wrap / truncate | Wrap long lines at a width, or cut each line to a length. | Mode, Width | |
Slugify | URL slug: lowercase ASCII with hyphens, diacritics stripped. | — | |
Strip diacritics | café → cafe, using Unicode decomposition. | — | |
Strip HTML tags | Remove tags and decode entities, keeping the text. | — | |
Count | Characters, words, lines, bytes and the most frequent words — as a report. | — | |
Pad lines | Pad each line to a width on the left or right. | Side, Width, Character | |
Prefix / suffix lines | Add text before and after every line (e.g. quotes and commas for SQL IN lists). | Prefix, Suffix | |
| Data | JSON format | Pretty-print (or minify / sort keys). | Indent, Sort keys |
JSON query (JSONPath) | Pick values out of a document: $.a.b, $[*].id, $..name, $[?(@.x > 1)]. | Path | |
JSON → YAML | Render JSON as block-style YAML. | — | |
YAML → JSON | Parse YAML (safe schema) to JSON. | Indent | |
CSV → JSON | Rows become objects keyed by the header (numbers and booleans typed). | Delimiter, Type numbers/booleans | |
JSON → CSV | An array of objects (nested keys flattened with dots) to CSV. | Delimiter | |
JSON flatten | Nested object to one level with dotted keys (or back). | Mode | |
SQL format | Format SQL for a dialect. | Dialect | |
XML format | Indent XML (or minify). | Mode | |
Markdown table | CSV or JSON array into a Markdown table. | — | |
| Time | Unix time → date | Seconds or milliseconds since the epoch to ISO 8601 (each number on its own line). | Zone |
Date → Unix time | Any date the browser can parse to epoch seconds. | Unit | |
Current time | Replace the input with the current time in several forms. | — | |
| Numbers | Number base | Convert integers between decimal, hex, binary, octal (one per line). | From, To |
Bytes → human | 1536 → 1.5 KiB, one per line. | Units | |
Sum / statistics | Sum, average, min, max, count of the numbers found. | — | |
| Network | URL parse | Scheme, host, port, path, query parameters and fragment as JSON. | — |
Query string ↔ JSON | a=1&b=2 to JSON and back. | Mode | |
Defang / refang URLs | hxxp://example[.]com style, so links in reports cannot be clicked, and back. | Mode | |
IP ↔ integer / hex | IPv4 dotted quad to integer or hex and back, one per line. | To | |
Extract URLs / IPs / emails | Pull every URL, IPv4 address or email out of free text. | Extract, Unique only | |
| Crypto | AES-GCM encrypt | Encrypt with a password (PBKDF2-SHA256, 310k iterations). Output is base64: salt·iv·ciphertext. | Password |
AES-GCM decrypt | Decrypt output of the encrypt step with the same password. | Password | |
Random | Replace the input with random bytes, a UUID, or a password. | Kind, Length / count |
Why chaining beats single-purpose tools
Real payloads are layered. A webhook body is JSON inside Base64 inside a URL parameter; a log line contains a token that contains a JSON payload; a CSV export needs cleaning before it can be queried. Doing that with one-shot tools means copying intermediate results between pages, and the copying is where mistakes happen — a trailing newline, a lost character, the wrong field. A recipe removes the copying: the intermediate values are shown but never retyped.
The model is the one Unix pipes introduced fifty years ago, with the addition that every stage is visible. base64 -d | gunzip | jq .payload is a Flow recipe with three steps, except you can see what came out of gunzip before jq complained about it.
How errors are handled
A step that fails — invalid Base64, a regex that does not compile, JSON that does not parse — reports the reason on its own card and the chain stops there; the steps after it are marked as skipped rather than run against garbage. Fix the argument or the input and the chain resumes. Operations that decode binary data show a hex dump when the result is not text, so a decode that "worked" but produced bytes is not mistaken for a decode that produced a string.
The encryption step, honestly described
AES-GCM encrypt derives a 256-bit key from your password with PBKDF2-SHA256 at 310,000 iterations and a random salt, encrypts with a random nonce, and packs salt, nonce and ciphertext into one Base64 string. Decrypt reverses it and fails loudly on a wrong password or altered data, because GCM authenticates what it encrypts. It is a sound way to protect a note or a config snippet you are about to paste somewhere; it is not a replacement for a secrets manager, and the strength of the result is the strength of the password you chose.
Frequently Asked Questions
A recipe is the ordered list of steps with their arguments, stored as a small JSON document you can copy from the Recipe pane and paste back with the import button. The Share link button in the header goes further: it compresses the recipe and the current input into the URL fragment, which browsers never send to a server, so opening the link reproduces the whole session on the other person's machine without anything having been uploaded.
By structure, not by guessing at meaning: three base64url segments beginning with eyJ are a JWT; Base64 beginning with H4sI is gzip; percent signs followed by hex digits mean URL encoding; ampersand-named entities mean HTML; a 10-digit number near the present is a Unix timestamp; consistent comma or tab counts across lines mean CSV; valid JSON is offered formatting and a JSONPath query. Each suggestion is scored and the best few are shown. It only suggests; nothing runs until you click.
Steps pass text between them. Decoders that produce bytes which are not valid text show them as hexadecimal, and the hex decode and Base64 decode steps accept that back, so binary can be carried through a chain in hex form. Files opened with the upload button are read as UTF-8 text; for hashing large binary files use the hash generator, which streams the file through Web Crypto.
The same engine as the JSON tool: $.a.b, bracket keys, numeric and negative indexes, [*] wildcards, .. recursive descent, slices such as [0:5], unions, .length, and filters such as [?(@.qty > 5 && @.status == 'paid')] with comparison, regex matching and boolean operators. One match is output as its value, several as a JSON array.
No. The operations are JavaScript functions in this page, hashing and encryption use the browser's Web Crypto API, and compression uses the browser's built-in CompressionStream. The header indicator counts network requests made by the page's own code and stays at zero. History is off by default; if you turn on Save to history, each recipe you run with the Run button is kept in your browser's own database and can be cleared from the command palette.
CyberChef (GCHQ, Apache-2.0) has over 300 operations; Flow has more than 200, named the way CyberChef names them where they overlap, so a recipe you know there reads the same here. Flow adds per-step previews, magic suggestions, presets, recipes that share as links, and Send to, which opens the result in another Layerbit tool such as the JSON Formatter or Diff Checker. CyberChef still has operations Flow does not, such as image forensics, file carving and many legacy ciphers; for those it remains the right tool.
Yes, two ways. Many operations already work on every line: hash each line, filter, sort, unique, cut a column, convert numbers, timestamps or IPs. For any other step, put Fork before it and Merge after it: Fork splits the input (by line, or by any separator you choose), runs the steps in between on each part, and Merge joins the results. A file too big to open in the page is read from disk line by line, as long as every step works line by line, and the full result downloads as a file.
Click the ● on a step to set a breakpoint. Run stops after that step and shows its output; the later steps are marked paused. Step runs one more step, and Continue runs on to the next breakpoint or the end. Every step also shows a preview of its own output, so you can see where a value went wrong.
Changelog
- v1.2.0 More than 200 operations: new encodings (Base45/58/62/85/91, punycode, quoted-printable, Morse, Braille, hexdump, charsets, file type), ciphers (Vigenère, affine, rail fence, XOR brute force, RC4, AES with key and IV), hashes through hash-wasm (SHA-3, BLAKE2/3, bcrypt, scrypt, Argon2 and more), CSV columns, filters and sorting, TOML, JMESPath, XML, TypeScript types, date formats, IPv6, CIDR, units, JWT signing and TOTP. Fork and Merge, breakpoints with Step and Continue, line-by-line streaming for big files, and Send to on the output.
- v1.1.0 History is off by default: with the Save to history switch on, only the Run button saves a run; live previews never do. CSV operations use the shared CSV reader, so a quote inside a field is a literal character. JSON format, JSON → YAML, JSON → CSV and JSON flatten keep long numbers exactly, and CSV → JSON typing never changes a value (00123, +971 and long numbers stay text). JSON → CSV has a Safe for Excel option, on by default.
- v1.0.0 Initial release: 74 chainable operations across encoding, hashing, text, data, time, numbers, network and crypto; per-step previews and errors; magic detection; nine preset recipes; recipe copy, import and share links; file input; send-to and history integration.