$
shfmt
-
web
client-side
Shell script formatter — runs entirely in your browser
Indent
Tab
2 spaces
4 spaces
Shell
bash
posix
mksh
Binary Ops
Default
Start of line
End of line
Input
Clear
Output
Copy
Formatted output will appear here