Pretty XML installs statistics
By Prateek Mahendrakar · VS Code Marketplace · Formatters
XML formatter extension for Visual Studio Code. Formats XML documents just like Visual Studio.
Pretty XML has 425,864 recorded installs on VS Code Marketplace, an increase of 1.0% over the past 30 days, ranking #937 of 2,515 tracked listings.
Rating: 4.63 / 5 from 161 ratings
About Pretty XML
Pretty XML
<!-- markdownlint-disable-next-line MD033 --> <img src='https://github.com/pmahend1/prettyxml/raw/HEAD/images/logo.png' width='200' height='200' alt="logo" />Features
1. Prettify XML (XML Formatting)
2. Pretty XML: Minimize
What is it?
Pretty XML is a XML formatter extension for Visual Studio Code and VSCodium. It formats XML documents just like Visual Studio on Windows.
Supported file extensions:
- xml
- xaml
- axml
- xsd
- xsl
- plist
- mobileconfig
- config
- csproj
- svg
- resx and all other XML type of files.
There is also Visual Studio for Mac version of this extension. Check it out at PrettyXML.VSMac
Suggestions, improvement PRs are welcome.
<!-- License|Deploy --> <!-- Visual Studio MarketPlace: Version|Installs|Downloads|Rating --> <!-- Open VSX: Version|Installs|Downloads|Rating-->
Features
1. Prettify XML (XML Formatting)
Right Click and Select Prettify XML or use shortcut
- Position each attribute on a separate line.
- First attribute on same line as start element start tag.
- All attributes indented aligning with first attribute.
- If no child for an element then close inline end tag.
- No empty lines.
- Supports
'and whitespace unicodes in attribute value for XAML parser compatibility.
1.a. Format Entire Document
- Lets you format entire valid XML document.
1.b. Format Selection - Beta
- Lets you format part of an XML document. XML can be partial and invalid. This is in beta, so feel free to submit pull request with improvements.
- The selection is indented from the indentation of its first line, so it keeps the depth it sits at in the document, and that first line's indentation is kept exactly as it was written.
- Indentation follows the editor: one tab per level when the editor inserts tabs, otherwise
prettyxml.settings.indentSpaceLengthspaces. Continuation lines of a wrapped attribute list line up with spaces, since a column inside a tag cannot be written in tabs. - Nothing is added or removed. An end tag closes the element it names, an element the selection leaves open keeps its content indented under it, and a selection that starts or ends in the middle of a tag keeps those characters as they are.
- Content of an element carrying
xml:space="preserve"is left as written when that element is inside the selection. - An element whose content mixes text and markup is kept on one line when it begins and ends with text, as in
<p>some <b>bold</b> text</p>. Otherwise the markup that the text joins together shares a line, as in<A /> <B />. Text spanning several lines is re-indented a line at a time.

Before

After

2. Pretty XML: Minimize
Minimizes XML.

---…
Description from the VS Code Marketplace listing.
- axml
- config
- csproj
- formatter
- keybindings
- mobileconfig
- plist
- resx
- xaml
- xml
- xsd
- xsl
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Formatters plugins
All 20 Pretty XML alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=PrateekMahendrakar.prettyxml. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.