XML to JSON Converter - Feeds, Sitemaps and Exports to JSON avatar

XML to JSON Converter - Feeds, Sitemaps and Exports to JSON

Pricing

from $3.00 / 1,000 file converteds

Go to Apify Store
XML to JSON Converter - Feeds, Sitemaps and Exports to JSON

XML to JSON Converter - Feeds, Sitemaps and Exports to JSON

Convert XML from up to 20 URLs or pasted text into JSON files with a download link and a preview. Choose how attributes are named, which elements are always arrays, and whether to drop namespaces. XML with a DTD or entities is refused, so XXE is not possible. Pay per file converted.

Pricing

from $3.00 / 1,000 file converteds

Rating

0.0

(0)

Developer

KOTARO project

KOTARO project

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Features

Limited permissions

Share

XML to JSON Converter

Turn XML into JSON: RSS and Atom feeds, sitemaps, product exports, SOAP answers, KML and more. Give URLs, paste XML, or both. Each source becomes one JSON file with a download link and a short preview.

What you get

For every source:

  • downloadUrl: the link to the JSON file
  • preview: the first 1,500 characters of the JSON, to check the shape at a glance
  • elements: how many XML elements were read
  • sizeBytes of the JSON

Input

FieldWhat it is
xmlUrlsPublic addresses of XML files, up to 20, each up to 50 MB
xmlTextXML pasted as text
keepAttributesKeep attributes such as id="1"
attributePrefixPut before attribute names, default @ (so id becomes @id)
textKeyName for the text of an element that also has attributes, default #text
alwaysArrayElement names that always become arrays, such as item, so every file has the same shape
stripNamespacesWrite dc:title as title
prettyPrintIndent the JSON

The sample input converts IANA's public list of media types and a small pasted catalog, so you can see results in a few seconds.

Safety

XML with a DTD or entities is refused. This blocks external entities (XXE), entity expansion bombs and external DTDs. Only the files you name are downloaded, and internal or private addresses are refused.

Price

You pay once per file converted (file-converted). Sources that cannot be downloaded, are refused or are not valid XML are not charged. An empty input ends at once with a free note.