New Free Tool

VBA Code Indenter

Paste your code on the left. Clean, consistently indented code appears on the right.

Understands VBA

Handles Sub, Function, Property, If/ElseIf/Else, Select Case, For, For Each, Do, While, With, Type, Enum, #If, labels, and line continuations.

Leaves Your Code Alone

Only the leading whitespace changes. Strings, comments, and the code itself are kept exactly as you wrote them.

Private

Your code is indented by JavaScript on this page and never sent anywhere.

HideMyVBA

Free tools built for productivity and security. This program is provided as a free service without warranty.

© 2026 HideMyVBA.com. All Rights Reserved.
Privacy · Designed for secure, seamless automation.