Shell and Bash Formatter

Format shell and bash scripts. Indent and normalize. Runs in your browser.

Shell and Bash Formatter

Format shell and bash scripts with consistent indentation and style. Uses shfmt (WASM) in your browser; nothing is uploaded. Invalid syntax will show an error.

Use cases

  • Scripts – .sh, .bash scripts before commit
  • CI/config – Normalize script blocks
  • Readability – Consistent indentation and line breaks

Send Feedback

We'd love to hear your thoughts! Your feedback helps us improve our tools and create a better experience for everyone.

Share Your Experience

Tell us what you think about this tool

Your feedback helps us improve and create better tools for everyone