Skip to content
PluginStats

XML to JSON installs statistics

By Bui Anh Thang · VS Code Marketplace · Other

Convert XML from clipboard or current document/selection to JSON

View on VS Code Marketplace Fresh · Dec 6, 2026

XML to JSON has 179,119 recorded installs on VS Code Marketplace, an increase of 0.4% over the past 30 days, ranking #1661 of 2,515 tracked listings.

Installs
179,119
Official API · Dec 6, 2026
7-day growth
+0.1%
+133 installs
30-day growth
+0.4%
+636 installs
90-day growth
—
Insufficient history
Rank
#1661
▼ 2 in 7 days

Rating: 4.38 / 5 from 8 ratings

About XML to JSON

XML to JSON

Convert XML from clipboard or current document/selection to JSON

Version Installs Downloads Rating

Are you using Code and working with XML builder tools day by day?

XML to JSON can help you create the final object, just edit the variables that need dynamic data instead of typing each object key, attribute and no typos mistake. Converted data can be use for xmlbuilder, xml2js or your expected format using configuration options.

Here are just some of the features that XML to JSON provides:

  • Convert XML from document or selection to JSON
  • Convert XML from clipboard to JSON

📝 Changelog

See the release notes for the full set of changes

🏙 Preview

<p align="center"> <img src="https://github.com/buianhthang/vscode-xml2json/raw/master/images/preview.gif" alt="png"> </p>

🔧 Configuration

By default, it's following xml2js default options. If you wanna change, choose one of pre-defined options (eg: xmlbuilder) or select custom and edit in settings.json. Below is an example:

{
    "xml2json.defaultSettings": "custom",
    "xml2json.options": {
        "attrkey": "@",
        "explicitArray": false,
        "mergeAttrs": true
    }
}

Availablie options:

Following xml2js

NameDefaultDescription
attrkey$Prefix that is used to access the attributes. Version 0.1 default was @.
charkey_Prefix that is used to access the character content. Version 0.1 default was #.
explicitCharkeyfalse
trimfalseTrim the whitespace at the beginning and end of text nodes.
normalizeTagsfalseNormalize all tag names to lowercase.
normalizefalseTrim whitespaces inside text nodes.
explicitRoottrueSet this if you want to get the root node in the resulting object.
emptyTagwhat will the value of empty nodes be.
explicitArraytrueAlways put child nodes in an array if true; otherwise an array is created only if there is more than one.
ignoreAttrsfalseIgnore all XML attributes and only create text nodes.
mergeAttrsfalseMerge attributes and child elements as properties of the parent, instead of keying attributes off a child attribute object. This option is ignored if ignoreAttrs is false.
validatornullYou can specify a callable that validates the resulting structure somehow, however you want. See unit tests for an example.
xmlnsfalseGive each element a field usually called '$ns' (the first character is the same as attrkey) that contains its local name and namespace URI.
explicitChildrenfalsePut child elements to separate property. Doesn't work with mergeAttrs = true. If element has no children then children won't be created. Added in 0.2.5.
childkey$$Prefix that is used to access child elements if explicitChildren is set to true. Added in 0.2.5.
preserveChildrenOrderfalseModifies the behavior of explicitChildren so that the value of the children property becomes an ordered array. When this is true, every node will also get a #name field whose value will correspond to the XML nodeName, so that you may iterate the children array and still be able to determine node names. The named (and potentially unordered) properties are also retained in this configuration at the same level as the ordered children array. Added in 0.4.9.
charsAsChildrenfalseDetermines whether chars should be considered children if explicitChildren is on. Added in 0.2.5.
includeWhiteCharsfalseDetermines whether whitespace-only text nodes should be included. Added in 0.4.17.
asyncfalseShould the callbacks be async? This might be an incompatible change if your code depends on sync execution of callbacks. Future versions of xml2js might change this default, so the recommendation is to not depend on sync execution anyway. Added in 0.2.6.
stricttrueSet sax-js to strict or non-strict parsing mode. Defaults to true which is highly recommended, since parsing HTML which is not well-formed XML might yield just about anything. Added in 0.2.7.
attrNameProcessors(*)nullAllows the addition of attribute name processing functions. Accepts an Array of functions. Added in 0.4.14.
attrValueProcessors(*)nullAllows the addition of attribute value processing functions. Accepts an Array of functions. Added in 0.4.1.
tagNameProcessors(*)nullAllows the addition of tag name processing functions. Accepts an Array of functions. Added in 0.4.1.
valueProcessors(*)nullAllows the addition of element value processing functions. Accepts an Array of functions. Added in 0.4.6.
Note

(*): These configuration is not supported this time due to Code extension only support array, boolean, integer, null, number, object, string.

📸 Screenshots

<p align="center"> <img src="https://github.com/buianhthang/vscode-xml2json/raw/master/images/command.png" alt="png"> <img src="https://github.com/buianhthang/vscode-xml2json/raw/master/images/context.png" alt="png"> </p>

📝 Icon Credit

XML, JSON file icon by Smashicons from Flaticon - Flaticon Basic License

Description from the VS Code Marketplace listing.

  • vscode
  • xml
  • xml2js
  • xml2json
  • xmlbuilder

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

XML to JSON installs on VS Code Marketplace, last 90 days: 179,119 installs as of Dec 6, 2026.XML to JSONInstalls on VS Code Marketplace · Last 90 days179,119installs177.8K178K178.2K178.4K178.6K178.8K179K179.2KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
XML to JSON installs on VS Code Marketplace, last 90 days: 179,119 installs as of Dec 6, 2026.

7/30/90-day growth

XML to JSON installs growth on VS Code Marketplace: +0.1% over 7 days, +0.4% over 30 days, 90-day growth unavailable.XML to JSONInstalls growth on VS Code Marketplace179,119installs now7-day growth+133 installs+0.1%30-day growth+636 installs+0.4%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
XML to JSON installs growth on VS Code Marketplace: +0.1% over 7 days, +0.4% over 30 days, 90-day growth unavailable.

Ranking history

XML to JSON VS Code Marketplace ranking history: currently #1661 (by installs).XML to JSONVS Code Marketplace ranking · by installs · Last 90 days#1661current rank#1650#1652#1654#1656#1658#1660#1662#1664Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
XML to JSON VS Code Marketplace ranking history: currently #1661 (by installs).

Ratings over time

XML to JSON ratings on VS Code Marketplace, last 90 days: 8 ratings as of Dec 6, 2026.XML to JSONRatings on VS Code Marketplace · Last 90 days8ratings7.27.47.67.888.28.48.68.8Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
XML to JSON ratings on VS Code Marketplace, last 90 days: 8 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,258 shown · page 84, #5 (overall #1,665)
All VS Code Marketplace: every listing in installs order

Listing placement

Other764 listings · 39 pages · page 26, #3 (overall #503)
Other: every listing in installs order

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)
Recent installs observations for XML to JSON
Date (UTC)InstallsChange vs. previous
179,119+17
179,102+10
179,092+17
179,075+24
179,051+38
179,013+16
178,997+11
178,986+16
178,970+17
178,953+34
178,919+33
178,886+2
178,884+23
178,861—

Similar VS Code Marketplace Other plugins

All 20 XML to JSON alternatives

Data 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=buianhthang.xml2json. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.