Transform JSON data between different formats. Two ways to build a transformation map: paste two JSON examples and let the tool auto-generate the mapping, or write/edit the map manually using source -> target syntax.
Quick Start:
When you click Parse JSON(s), paths are linked automatically in priority order:
After automatic linking you can continue with manual mapping. Choose one of the following methods:
To Remove links:
Stop writing manual transformation code. Paste two JSON examples and let the tool build transformation map automatically. Create one and reuse it anytime. All processing happens in your browser โ nothing is sent to a server. Watch Tutorial video and Features video
Open the Mapper and fill both panels with example JSON โ paste two JSON structures that define the formats you want to convert between.
.json file, Load from URL (Registered Users) to fetch one, or paste directly into the textarea.
Click Parse JSON(s) to analyze both structures and open the Manual mapping editor.
Fields are linked automatically in this priority order:
firstName and first_name to John before parsing)
Review links in the Manual mapping panel and connect any fields that were not matched automatically.
To remove links:
When all fields are linked, click Build Map. The generated transformation map appears in the Transformation Map panel.
You can edit the map directly in that textarea. The format uses one source -> target mapping per line:
catalog.categories[*].id -> catalog[*].short_name catalog.categories[*].products[0].currency -> catalog[*].price_currency catalog.categories[*].products[*].id -> catalog[*].products[*].id catalog.categories[*].products[*].name -> catalog[*].products[*].name catalog.categories[*].products[*].tags[*] -> catalog[*].products[*].plan.features[*]
Use Open / Save on the Transformation Map panel to load or store a map for reuse (Subscribers only).
Replace the Source panel content with the real JSON data you want to transform, then click Apply Map. The transformed result is written to the Target panel.
Click Save on the Target panel to download the output as a .json file.
The JSON Mapper tool provides a powerful, code-free environment for transforming complex data structures. Below are the core features that enable seamless data integration and reorganization.
Tired of manually mapping complex JSON structures? JSON Mapper automates the bridge between your source data and your desired output format. By analyzing two JSON examples, the tool intelligently suggests links based on identical paths, matching names, shared values, and common value formats.
Key Features
The tool allows for seamless renaming of keys across any nesting level. By mapping a source field to a target field with a different name (e.g., sku → product_code), the mapper automatically handles the translation. This is essential for normalizing data from different third-party APIs (like Stripe, Shopify, or Salesforce) into a consistent internal format.
Beyond simple renaming, the tool can completely change the object's structure. You can move fields from a flat root level into a nested object (e.g., firstName → profile.personal.name) or extract deeply nested values into a flat structure. This "unflattening" and "flattening" capability allows you to reshape JSON to match specific database schemas or UI requirements without writing custom transformation code.
One of the most powerful features is the ability to convert multi-level nested arrays into a single-level list. For example, if you have a structure like Categories > Products > Tags, the mapper can "flatten" this so that every tag becomes a top-level item in a target array. During this process, the tool automatically propagates parent data (like the Category Name) into every child element, ensuring no context is lost.
Using the [*] wildcard pattern, the tool can process arrays of any length. It identifies structural patterns within arrays, allowing you to map every object in a source list to a new structure in the target list. This ensures that whether your source has one item or one thousand, the transformation logic remains consistent and accurate.
The mapper distinguishes between "structural" mappings (where every item in an array follows the same rule) and "positional" mappings (where you want to extract a specific element, such as tags[0] mapping to primary_category). This provides the flexibility to handle both bulk data processing and specific field extraction in a single transformation map.
The tool supports converting data types during the mapping process, such as turning a simple array of strings into an array of complex objects, or vice versa. By "mapping by example," the tool infers the desired target type based on the target JSON you provide, automating the conversion of primitive values into structured data.
The Parse JSON functionality automatically detects identical or similar field names, shared example values, and common value formats between the source and target files. It generates an initial set of mapping rules instantly, significantly reducing the manual effort required to build a transformation map for large, complex JSON files.
No account required.
Free account.
All features unlocked.
Subscribed since
Valid from till
This tool is provided as-is for personal and commercial use. No warranty is given.
No data is sent to any server.
All JSON processing happens entirely in your browser.
This means:
We cannot see your JSON data
We cannot store your JSON data
We cannot share your JSON data
You can verify this by using our tools while offline or by inspecting network requests in your browsers
developer tools.
We may store User's information in your browsers local storage
Since we dont collect or store your JSON data, there is no risk of your data being compromised on our servers. The website is served over HTTPS to ensure secure communication.
Our services are not directed to children under 13. We do not knowingly collect information from children.
If you have questions, please contact us through our website.
You may have rights including:
Access to your personal data
Correction of inaccurate data
Deletion of your data
Data portability
Objection to processing