Fast pure JS implementation of XML parser
Become a financial contributor.
If Fast XML Parser makes your code fast, and your life less painful, you can become a supporter of its ongoing development. You'll also be highligh... Read more
$20 USD / month
Become a sponsor and get your logo on our README on Github with a link to your site. You'll also be highlighted as sponsor on http://amitkumargupta... Read more
$100 USD / month
Transparent and open finances.
Let’s get the ball rolling!
News from fast-xml-parser
Updates on our activities and progress.
Handle hexadecimal numbers and numbers like strings
- Validate XML data syntactically
- Transform XML to JSON or Nimn
- Transform JSON back to XML
- Works with node packages, in browser, and in CLI (press try me button above for demo)
- Faster than any pure JS implementation.
- It can handle big files (tested up to 100mb).
Various options are available to customize the transformation
- You can parse CDATA as separate property.
- You can prefix attributes or group them to separate property. Or can ignore them from result completely.
- You can parse tag's or attribute's value to primitive type: string, integer, float, or boolean. And can optionally decode for HTML char.
- You can remove namespace from tag or attribute name while parsing
- It also supports boolean attributes.