Skip to main content
Back to Tools
Web Tools

AWK Command Builder

Build AWK one-liners interactively. Select actions like print columns, filter rows, sum/average columns, unique values, text replacement, and custom printf formatting. Supports CSV, TSV, and custom delimiters. Runs entirely in your browser — your data never leaves your machine.

awk cli unix command-line text-processing one-liner

Published May 31, 2026

All interactive tools run entirely in your browser. Your data never leaves your device.

How It Works

Select an action (print columns, filter, sum, replace, etc.), configure the field separator and options, and the tool generates a ready-to-use AWK command. Copy it and paste directly into your terminal.

Features

  • 10 actions: print columns, filter rows, count lines, sum, average, unique values, replace text, print range, custom printf, field count
  • Delimiter support: space, comma (CSV), tab (TSV), colon, pipe
  • Header skip: optional NR>1 to skip header rows
  • Filter negation: invert match conditions
  • Custom output separator: set OFS for formatted output
  • Printf formatting: custom format strings for precise output
  • 5 examples: column extraction, CSV filter, sum, unique values, replace
  • Private: all computation runs in your browser — no data transmitted

Use Cases

  • Quickly build AWK commands without memorizing syntax
  • Extract columns from CSV/TSV log files
  • Filter and count lines matching patterns
  • Sum or average numeric columns in data files
  • Generate one-liners for shell scripts and pipelines