Select Input Format: Choose whether you want to convert from JSON or XML using the "Input Format" dropdown.
Enter Input Data:
Text Input: Paste your JSON or XML directly into the input text area.
File Upload: Click the "Upload File" button to select a .json or .xml file from your computer. The file content will be loaded into the input text area.
Convert: Click the "Convert" button to perform the conversion.
View Output: The converted data will appear in the "Output" text area. The output format is automatically selected and displayed.
Copy Output: Click the "Copy Output" button to copy the converted text to your clipboard.
Download Output: Click the "Download Output" button to download the converted data as a file. The file will be named "output.json" or "output.xml" depending on the output format.
Clear: Click the "Clear" button to clear the input and output areas and start a new conversion.
Important Notes:
The converter automatically detects the file type when uploading a file.
The output format is automatically set based on the input format.
The "Download Output" button is only enabled after a successful conversion.