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 · Oct 20, 2026

XML to JSON has 178,048 recorded installs on VS Code Marketplace, ranking #1657 of 2,501 tracked listings.

Installs
178,048
Official API · Oct 20, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1657
Among tracked VS Code Marketplace listings

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: 178,048 installs as of Oct 20, 2026.XML to JSONInstalls on VS Code Marketplace · Last 90 days178,048installs178K178K178K178K178K178K178K178.1KJul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct…pluginstats.com
XML to JSON installs on VS Code Marketplace, last 90 days: 178,048 installs as of Oct 20, 2026.

7/30/90-day growth

XML to JSON installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.XML to JSONInstalls growth on VS Code Marketplace178,048installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 20, 2026pluginstats.com
XML to JSON installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

XML to JSON VS Code Marketplace ranking history: currently #1657 (by installs).XML to JSONVS Code Marketplace ranking · by installs · Last 90 days#1657current rank#1650#1652#1654#1656#1658#1660Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct 20, 2026pluginstats.com
XML to JSON VS Code Marketplace ranking history: currently #1657 (by installs).

Ratings over time

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

Listing placement

All VS Code Marketplace2,501 listings · 126 pages · 1,251 shown · page 83, #17 (overall #1,657)
All VS Code Marketplace: every listing in installs order

Listing placement

Other761 listings · 39 pages · page 25, #18 (overall #498)
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 (5)
Recent installs observations for XML to JSON
Date (UTC)InstallsChange vs. previous
178,048+26
178,022+14
178,008+1
178,007+23
177,984—

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 Oct 20, 2026. See the methodology.