Git Command Builder
Pick a task such as undoing a commit, renaming a branch or squashing, and get the exact git commands with explanations and danger warnings.
Open toolQuote any text safely for bash (single, double, $'…' or minimal) and see how bash splits and expands a command line.
Quote text mode turns any string — with spaces, quotes, $variables, backticks, globs, newlines or control characters — into a single safe bash argument four ways: single quotes (fully literal, with ' written as '\''), double quotes (with \ " $ and ` escaped), ANSI-C $'…' quoting (every control character shown as an escape) and minimal quoting that leaves safe words alone. Notes warn about history expansion of ! in double quotes and NUL bytes, which no quoting can pass.
Explain a command line shows how bash would split a line into the command and its arguments, decoding each kind of quoting, and lists the expansions it would perform — variables, command substitution, globs, ~ and brace expansion — without running anything. Use ?mode=explain to open it directly. Everything runs in your browser. What you paste is never uploaded, logged or stored.
Your code or text
bash, zsh, POSIX sh (single/double quotes)
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Ready to download or copy
Choose Quote text or Explain a command line.
Paste the text or command.
Copy the quoted version, or read how bash splits the line.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Paste the text or command.
Copy the quoted version, or read how bash splits the line.
Pick a task such as undoing a commit, renaming a branch or squashing, and get the exact git commands with explanations and danger warnings.
Open toolRe-indent and tidy an nginx configuration, catch missing semicolons and braces, and flag common security and logic mistakes.
Open toolTest JavaScript regular expressions with live match highlighting, capture groups and replace preview.
Open toolEscape or unescape strings for JSON, JavaScript, Python, Java, C#, C, HTML, XML, URLs, CSV, SQL and shell.
Open tool