Michael Ouroumis logoichael Ouroumis

React Native XML Parser with TurboModule

TurboXML is a blazing-fast XML parser for React Native apps. Get 4Γ— faster parsing with native performance, multithreading, and TurboModules.

Built using Kotlin (Android) and Objective-C (iOS), TurboXML is ready for the New Architecture and ideal for apps with large XML files like maps or offline configs.

TurboXML Logo

Features of TurboXML

  • 4Γ— faster than react-native-xml2js
  • Android-native with Kotlin & multithreaded parsing
  • iOS-native with Objective-C & Grand Central Dispatch
  • TurboModules + JSI (New Architecture)
  • Install via npm or yarn
  • Fully typed API with TypeScript support

Installation

Install with npm or yarn:

npm install react-native-turboxml
# or
yarn add react-native-turboxml

# For iOS
cd ios && pod install

Requirements

  • React Native 0.71+
  • New Architecture (TurboModules) enabled
  • Android 5.0+ or iOS 13.0+

Usage Example

import { parseXml } from 'react-native-turboxml';

const xml = '<config><title>TurboXML</title><enabled>true</enabled><version>1.0</version></config>';

parseXml(xml).then(result => {
  console.log(result);
});

Benchmark

TurboXML (left) keeps the UI smooth while fast-xml-parser (right) freezes the entire app.

Why TurboXML?

TurboXML is built for performance. It keeps your UI responsive while parsing large XML files. If you're working with offline maps, configuration files, or any XML-heavy logic, TurboXML is the best choice.

Roadmap

  • βœ… Android support complete
  • βœ… iOS support complete
  • πŸ“„ Extended docs & performance benchmarks coming soon

Learn More

Read our deep dive on using TurboXML in React Native:

react-native-turboxml: Under the Hood