awk Command Builder & Tester
Build and test awk one-liners in the browser. A pure-JavaScript awk interpreter (no WASM, no network) runs BEGIN/END blocks, pattern { action } rules, field separators (-F / FS), -v variables, $0/$1/$N, NR/NF, OFS, print/printf, if/while/for, length/tolower/toupper/substr/split, regex patterns, arithmetic, comparisons, and string concatenation. Visual builder (pick columns, add a condition, choose an aggregation → generates the program), per-option plain-English explanation, reverse program explainer, sample-data library, recipe presets, GNU vs POSIX toggle, copy-ready `awk -F',' '{print $1,$3}' file` command, history (max 20), shareable URL. 100% client-side.
Build and test awk one-liners in the browser. A pure-JavaScript awk interpreter (no WASM, no network) runs BEGIN/END blocks, pattern { action } rules, field separators (-F / FS), -v variables, $0/$1/$N, NR/NF, OFS, print/printf, if/while/for, length/tolower/toupper/substr/split, regex patterns, arithmetic, comparisons, and string concatenation. Visual builder (pick columns, add a condition, choose an aggregation → generates the program), per-option plain-English explanation, reverse program explainer, sample-data library, recipe presets, GNU vs POSIX toggle, copy-ready `awk -F',' '{print $1,$3}' file` command, history (max 20), shareable URL. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.