React XML Viewer

JSON →
library 3.0.4 ·javascript
verified May 27, 2026

react-xml-viewer is a React component designed for pretty-printing and displaying XML strings in a user-friendly, formatted manner. The current stable version is 3.0.4. The library has an active release cadence, with recent updates addressing security vulnerabilities (CVEs), ensuring compatibility with newer React versions (e.g., React 19), and adding new features like line numbers and improved collapsing functionality. Its key differentiators include extensive customization options for appearance via a theming prop, the ability to make XML collapsible, and a dedicated prop for handling invalid XML input. It also ships with TypeScript types, enhancing developer experience in TypeScript projects. It leverages `fast-xml-parser` for its underlying XML processing, and regular updates help maintain security and performance.

total hits 42
actors 8 distinct systems
last hit 11h ago human
GPTBot
5
Amazonbot
4
MetaBot
4
Script
1
ClaudeBot
1
Search engines
2
Humans
3

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · BD · 🇫🇮 Finland