Free, no signup
XML to JSON: convert XML in your browser
Paste XML or drop a file and get JSON at once. Attributes become @name keys, a tag that repeats becomes a list, and an element's text becomes its value. A feed, a sitemap, or an API response converts the same way. Free, no signup, and nothing leaves your device until you ask for a link.
or drop a file on this box
Press Get a link: the File to link page opens with the converted file in it, ready to upload for a link to send. Sign up free and publish, and the link keeps working.
Collect sign-ups, orders, or answers with a form on a page of your own. Describe it and Convika makes it. Free to start, no card.
How to convert XML to JSON
- Paste your XML in the box, or press Choose an XML file.
- Check the tree: each tag is a key, each attribute an @ key.
- Press Download for the .json, or Copy to paste it into your code.
How are attributes converted?
Each attribute becomes a key that starts with @, so <item price="450"> gives "@price": "450". The element's own text sits beside them under #text.
What happens to a tag that repeats?
Two or more tags of the same name under one parent become a list, in their order. A tag that appears once stays a single value.
What if my XML has an error?
The page names the line and column where the XML breaks and what to fix, such as a tag that never closes or an & that should be &. Fix it in the box and the JSON updates at once.
Is my XML uploaded?
No. Your browser converts it on this page, and nothing is sent to Convika. When you want a link to the JSON, Get a link takes the file to File to link.
Guides
How to open an HTML file on iPhone
Open an HTML file on iPhone in 3 steps: save it to Files, open a free HTML viewer in Safari, tap Choose an .html file. It runs with CSS and JavaScript.
How do I open an HTML file on iPad and make it run?
Open an HTML file on iPad in 3 steps: save it to Files, open a free HTML viewer in Safari, tap Choose an .html file. Its CSS and JavaScript run, no app.
How do I open an HTML file on Android in Chrome mobile?
HTML file shows code or won't open on Android? Open it in Chrome with a free HTML viewer and the page runs, buttons and all. No app, no account.
How to share an HTML file as a link that opens on any phone
Upload the file to a host and send its link; email and Google Drive send the code. 8 hosts compared, from Convika to Netlify Drop, with 4 steps.
How do I create a QR code for an HTML file?
To convert an HTML file to a QR code, publish it at an address that stays, then click Show QR code and download a PNG. The code holds a link, not the file.
How do I upload and share an HTML file on Google Drive, or send it as a web page?
To share an HTML file on Google Drive, upload it to Drive, click Share, set it to Anyone with the link, and copy the link. People get the file, not a web page; Convika's free upload box turns it into one.
Submit an HTML file in Google Classroom so your teacher sees the page
Classroom takes an HTML file, but the teacher gets the file. Hand in a link to the page instead. Teachers post a game for their class the same way.
How do I send or share an HTML file on WhatsApp so it opens in one tap?
Send an HTML file in WhatsApp with Document and it arrives as a file. To share it so it opens as a page in their phone's browser, send a link. Got one? Open it in a free HTML viewer.
How to send an HTML page on LINE so it opens in one tap
LINE's help doesn't say how a phone opens a received .html file, and LINE keeps files for a limited time. Send a link instead; it opens in a browser.
How to open an HTML file in Safari on iPhone or iPad, and on a Mac
To open an HTML file in Safari on iPhone or iPad, open the free HTML viewer and tap Choose an .html file. On a Mac, open a local HTML file with File > Open File (Command-O).
file://error_page_loaded.html, code, or a blank page: how to open your HTML file
file://error_page_loaded.html is what Chrome on an iPhone or iPad shows when a page didn't load. Open your HTML file in a free viewer in a few taps.
How to open an HTML file on any computer, phone, or tablet
Double-click an .html file to open it in your browser. On a phone, open it in Convika's free HTML viewer. What an HTML file is, steps by device, and fixes.