Formateur de scripts Bash
Outil gratuit en ligne Formater et embellir les scripts Bash/Shell, sans installation
Bash/Shell Script Formatter
Format Bash and shell scripts with proper indentation and structure. This tool handles functions, loops, conditionals, and variable assignments.
How to Use
Paste your shell script, configure options (indent size, spaces/tabs, trim lines), and click Format. The tool will restructure your script with consistent formatting.
▶Should I use this instead of shfmt?
No. Use shfmt for production. This tool is for quick checks when shfmt is not available.
▶Does it handle all shell syntax?
It handles common Bash syntax but may not support all POSIX features or edge cases. For complex scripts, use a full-featured formatter.
Si cet outil vous a été utile, offrez un café à l'auteur.
Offrir un café