Shell Script Validator — Free Online

Validate any Bash or POSIX shell script for syntax, portability, and safety. Line-anchored findings, exportable report, no install.

Validation dimensions

# Every validation returns:
#   Syntax:      parseable? balanced quotes? matched fi/done/esac?
#   Portability: bashisms under #!/bin/sh?
#   Safety:      unsafe eval? tainted input? curl-pipe-shell?
#   Quality:     set -euo pipefail? exit codes checked?

What "validated" means

Every dimension checked returns pass/fail with evidence. If validation fails, you get the exact line and a suggested fix — not a vague "syntax error".

Fits into gates

Use as a pre-commit gate for shell changes, a pre-deploy check for installer scripts, or a portability review for BusyBox/dash environments.

Exports built for reviewers

Markdown for PR comments, PDF for change-management sign-off, JSON for automated ingestion.

Frequently asked questions

Does the validator execute my script?
Never. All findings come from static analysis.
What shells does it validate?
Bash 3.2+ and POSIX sh (dash, ash, bash --posix).
Is validation instant?
Typically 60–120 seconds for a first run; subsequent runs on the same script hit the browser cache and return instantly.