How to Import JSON File in n8n Easily 2026
By Impran M N
Getting a JSON file into an n8n workflow is really two separate problems: getting the raw file into the workflow at all, and then converting whatever n8n received — usually a binary blob — into structured data your other nodes can read. n8n handles both, but they use different nodes, and mixing them up is the most common reason people get stuck. This guide walks through the standard path: bringing the file in, parsing it with the Extract From File node, and confirming the output before you build on top of it.
01Decide where your JSON file is coming from
How you bring a file into n8n depends entirely on where it lives. If it's hosted somewhere reachable over HTTP, an HTTP Request node fetching that URL will pull it in as binary data automatically.
If it's already sitting on disk in a self-hosted n8n setup, a Read/Write File node can load it directly. If it's arriving as part of an upload — through a webhook or a form trigger — the binary data is typically already attached to the incoming item, and you just need to reference the right property name rather than fetch anything yourself.
02Confirm the file landed as binary data
Whichever route you used, check the item's Binary tab in the node's output before doing anything else. n8n stores incoming files under a binary property — often named data by default, though HTTP Request and other nodes let you rename it. If you can't see a populated binary property here, nothing downstream will work, so this is worth confirming before you add a parsing node on top of a fetch that silently failed.
03Add the Extract From File node
Extract From File is the node built specifically to turn binary file content into structured data — it isn't limited to JSON, but JSON is one of its explicit operation modes, alongside CSV, XML, and a handful of other formats. Place it right after whatever node produced your binary data, since it needs that binary property as its input.
04Set the operation and point it at the right property
Inside Extract From File, set the operation to the JSON option, then double-check the Binary Property field matches whatever your file actually landed under — this is the single most common misconfiguration, since a mismatched property name produces an error that looks like a parsing failure but is really just the node looking in the wrong place. Once that's aligned, the node reads the raw bytes and outputs them as a normal n8n JSON item, with the original file structure now available as regular fields rather than an opaque binary blob.
05Review the parsed output
After running the node, check its output panel — a successfully parsed JSON file appears as structured keys and values just like the output of any other node, which means you can click into individual fields the same way you would with data from an API call. If the source file was an array of objects, expect one n8n item per array entry rather than a single item containing the whole array, since that's how n8n typically expands list-shaped JSON.
06Handle a file that won't parse
If Extract From File throws an error, the two most likely causes are a wrong binary property reference or a file that isn't actually valid JSON despite the extension — a truncated download or a file that's secretly HTML (like an error page returned instead of the real file) will both fail here. Open the raw binary preview if you're unsure, or add a temporary node before Extract From File to inspect exactly what bytes arrived, rather than assuming the parser itself is broken.
07Pass the parsed data downstream
Once the output looks right, connect Extract From File to whatever comes next — a database node to store it, an IF or Switch node to route based on its contents, or another API call built from its fields. From this point on, the data behaves like any other n8n item, so nothing about the rest of the workflow needs to know it originally came from a JSON file rather than a live API response.
Frequently asked questions
What node parses a JSON file in n8n?
The Extract From File node, set to its JSON operation, converts raw binary JSON data into structured n8n items.
How do I get a JSON file into my n8n workflow in the first place?
Fetch it with an HTTP Request node if it's hosted online, read it with a Read/Write File node if it's on local disk, or take it directly from an upload's binary property.
Why does Extract From File fail even though my file is valid JSON?
Almost always a mismatched Binary Property field — the node is looking for the file under a property name that doesn't match where it actually landed.
Does a JSON array turn into one item or several in n8n?
n8n typically expands a top-level array into one item per entry, so plan downstream nodes around processing multiple items rather than a single big object.
Can I use the parsed JSON data in later nodes?
Yes. Once extracted, the data behaves like output from any other node and can be routed to database, logic, or further API nodes.
Watch the full walkthrough
The same steps, demonstrated on screen from start to finish.



