Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>AMPscript BeautifierNew to Visual Studio Code? Get it now.
AMPscript Beautifier

AMPscript Beautifier

FiB

|
8,648 installs
| (6) | Free
Beautify (prettify) AMPscript for Marketing Cloud.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AMPScript Beautifier

Format (Beautify/Prettify) your SFMC AMPscript with this extension.

Features

  • Automatic formatting (indentation, methods, etc.).
  • Setting of Case-sensitivity of the keywords.

To simplify your SFMC Dev click me!

Usage

  1. Mark your file as AMPscript (save as .amp or using the Language Mode selector)
  2. Run Format Document command.

Beautifier

The format command can also run automatically if your settings allow for it (settings: editor.formatOnSave).

Extension Settings

This extension contributes the following settings:

  • beautyAmp.maxParametersPerLine: How many method parameters can be located on one line?

  • beautyAmp.capitalizeVar: Use upper case characters for 'VAR' keywords (false for lowercase).

  • beautyAmp.capitalizeSet: Use upper case characters for 'SET' keywords (false for lowercase).

  • beautyAmp.capitalizeAndOrNot: Use upper case characters for 'AND', 'OR', 'NOT' keywords (false for lowercase).

  • beautyAmp.capitalizeIfFor: Use upper case characters for 'IF' and 'FOR' blocks keywords (false for lowercase).

Default values can be found in Features Contributions.

Note:

Originally developed with Merkle DACH (former Isobar Switzerland) and now available to the developer community.

Telemetry

This extension is collecting some telemetry in order to allow for future improvements and bugfixes.

This extension respects your privacy: no personal information, API Keys nor script content is collected. Telemetry can be disabled on the VSCode level.

Known Issues

  • Statements and For iterations are not fully formatted,
  • NOT is not formatted

Issue Reporting on GitHub

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft