Skip to content
QKQuickKit日本語
LinuxLOCALRuns in your browserInput may contain sensitive information

Shell Quote

Quote a string so a POSIX shell passes it through as one literal argument, or unquote a shell word back to its value.

This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.

Avoid live production secrets; use dummy or masked data where possible. Data handling details

Quote a string

No quoting needed

Single-quoted (default, always safe)

Double-quoted (expansions still apply)

ANSI-C $'...' (bash/zsh only, not POSIX sh)

Unquote a shell word

Unquoted value

How it works

The single-quote strategy is safe in sh, bash, zsh, and dash with no exceptions, because nothing inside single quotes is special. Double quotes still expand $variables and `backtick` command substitution, so they are shown for reference but are not a general safety mechanism. The $'...' form is a bash/zsh extension, not POSIX sh. This tool quotes one argument; it does not make untrusted input safe to run.