Best-effort indentation
VBScript has no maintained browser formatter here, so this page recomputes indentation from block keywords instead of parsing the full language.
VBScript has no maintained formatter library, so this re-indents your code using block keywords only — it doesn't reflow spacing or fix syntax. Review the result before using it.
Input
Output
Formatted output will appear here.
Paste or import VBScript above and click Prettify to reformat it with consistent indentation and spacing — free, in your browser, with nothing uploaded to a server. Note: this is a best-effort re-indenter, not a full parser (see the notice above the editor).
VBScript has no maintained browser formatter here, so this page recomputes indentation from block keywords instead of parsing the full language.
Spacing, line continuations, and syntax errors are not fixed. Review the result before using it in production scripts.
Need to convert Markdown instead? Try the free Markdown to Word/HTML/PDF converter.
Need to run some numbers? Try the free online calculators.
No maintained VBScript parser/formatter exists in any major ecosystem. This tool re-indents your code based on block keywords (If/For/Do/Sub/...) — it doesn't reflow spacing or fix syntax.
Only indentation, recomputed from a stack of open If/For/Do/While/Sub/Function/Select Case/With/Class/Property blocks.
No. Formatting runs entirely in your browser.
JSON formatter · JavaScript formatter · TypeScript formatter · CSS formatter · YAML formatter · C formatter · C++ formatter
We use cookies to show ads via Google AdSense. See our Privacy Policy for details.