Paste your code on the left. Clean, consistently indented code appears on the right.
Handles Sub, Function, Property, If/ElseIf/Else, Select Case, For, For Each, Do, While, With, Type, Enum, #If, labels, and line continuations.
Only the leading whitespace changes. Strings, comments, and the code itself are kept exactly as you wrote them.
Your code is indented by JavaScript on this page and never sent anywhere.
Free tools built for productivity and security. This program is provided as a free service without warranty.