New: create a free account and get 14 days ad-free.Sign up free
EarnGeniX
Skip to main content

Tutorial · Updated September 2026

3 Ways to Save, Load and Share a ComfyUI Workflow (JSON, Image, Drag and Drop)

Never lose a working setup again — save it as JSON, recover it straight from an image, or drag and drop either one back in seconds.

Free

Cost

~5 min

Time needed

Beginner

Skill level

JSON / Image

Formats

🗺️ Part of the Free ComfyUI RoadmapLevel 1: Beginner FoundationsBeginnerStep: Step 2: Installing ComfyUI
View Full Roadmap

By Earngenix Team · · Tested on ComfyUI [0.26.0]

⚡ Quick Answer

ComfyUI can save a workflow two ways: as a small .json file, or hidden inside images ComfyUI generates. To load either one back in, drag the file onto the ComfyUI window or press Ctrl+O. To share it, send the JSON file or the original image — never a screenshot.

If you've spent an hour arranging nodes into something that finally works, closing ComfyUI without saving means starting over. This guide covers how to save and load a ComfyUI workflowusing three different methods, how to send a workflow to someone else so it actually opens on their computer, and what to do when a workflow won't load at all.

Hardware and versions used for this guide: ComfyUI [your version], tested on [your OS]. None of the steps below use your GPU, so they work the same regardless of your hardware.

What Do You Need Before You Start?

You don't need anything extra for this guide. You only need:

  • ComfyUI installed and running. If you haven't installed it yet, follow Install ComfyUI on Windows first.
  • One workflow open in ComfyUI to practice with. The default workflow works fine, or follow the basic text-to-image workflow to build a simple one.
  • A few minutes — none of the three methods below take long.
Tip: The exact menu names in this guide (File, Workflow) can differ slightly depending on your ComfyUI version. If a menu name doesn't match what you see, look for the closest match — the options are almost always in the same place.
The ComfyUI File menu open, showing Save, Save As and Open🔍 Click to zoom
The File (or Workflow) menu — this is where every method in this guide starts.

What Is a ComfyUI Workflow File (and What's Inside a Workflow JSON)?

A node(a rectangular block that does one job, like loading a model or running a sampler) is the basic building block in ComfyUI. A workflow is simply all of your nodes, how they're connected to each other with wires, and every setting you've typed in — saved together as one file.

Behind the scenes, that file is written in a format called JSON, which is just plain text arranged in a structured way. You never need to read or edit this text yourself — ComfyUI writes it and reads it for you. The only thing worth knowing is that this file is small (usually a few kilobytes), which is why it's easy to save, email, or post online.

There are three ways to get a workflow back into ComfyUI, and each one is useful in a different situation:

MethodBest For
.json fileSaving your own work to reload later, or sharing the exact node layout
Image with a hidden workflowRecovering a workflow from a picture you already generated
Drag and dropThe fastest way to load either a JSON file or an image, with no menus

Way 1: How Do You Save and Load a ComfyUI Workflow as a JSON File?

This is the most reliable way to save a workflow, because it saves the entire layout — every node, every wire, every setting — with nothing left out.

How to Save a Workflow in ComfyUI (Save vs Save As)

  1. Open the File menu in the top-left corner of the ComfyUI window (on some versions this is labeled Workflow — look for the same icon if the name is different).
  2. Click Save if you're updating a workflow you've already named, or Save As if this is the first time, or if you want a new copy under a different name.
  3. If you clicked Save As, a box appears asking for a name. Type something you'll recognize later, like "my-first-character-workflow," then click Save or press Enter.
  4. You should see the workflow's name appear at the top of the screen, and it will also show up in the Workflows sidebar on the left side of ComfyUI.

Why this matters:ComfyUI doesn't save your work automatically. If you close the browser tab or restart your computer without saving, everything you built is gone.

Tip: On a typical Windows portable install, saved workflows are stored under ComfyUI\user\default\workflows. If you can't find your saved file, check that folder first — confirm it matches your own install type.

Keyboard shortcut: You can also save with Ctrl+S on Windows or Cmd+S on a Mac. On some browsers, Ctrl+S opens a browser "save this webpage" box instead — if that happens, use the File → Save menu option instead, which always works.

The Save As naming dialog, and the saved workflow appearing in the Workflows sidebar🔍 Click to zoom
Save As names your workflow — it then appears in the Workflows sidebar.

How Do You Load a Saved Workflow (Ctrl+O)?

  1. Open the File menu.
  2. Click Open, or press Ctrl+O on Windows (Cmd+O on a Mac).
  3. A file browser window appears. Find your saved .json file and double-click it.
  4. Your screen should redraw immediately, showing all the nodes and wires exactly as you left them, with your settings filled back in.
The file browser Open dialog, and the canvas redrawn after a workflow loads🔍 Click to zoom
Open dialog on the left, the loaded canvas on the right.

Save vs Export vs Export (API): Which One Should You Click?

The Filemenu has more than one saving option, and it's easy to click the wrong one:

  • Save and Save As create a normal workflow file. This is what you want almost every time — it includes your full layout, node positions, and colors, and it reopens perfectly in ComfyUI.
  • Export creates a very similar file to Save, meant for downloading a copy outside the app.
  • Export (API) creates a different kind of file. It strips out the layout information (node positions, colors, and groups) and replaces node names with numbers, because it's built for developers who run ComfyUI through code instead of the visual interface.
Warning: Don't use Export (API)to save your own work or to share a workflow with another beginner. It will technically load, but it won't show your original layout, and it's much harder to read.
The File menu showing Save, Export and Export (API) together🔍 Click to zoom
All three options live in the same menu — Save and Export are for you, Export (API) is for developers.

How to Share the JSON File

Once you've saved a workflow as a normal .json file (not the API version), you can attach that file to an email, a Discord message, or a forum post exactly like any other file. The person receiving it uses the Open steps above to load it on their own computer. There's one catch to sharing this way — see How Do You Share a Workflow So It Opens on Someone Else's Computer? below before you send it.

Way 2: How Do You Load a ComfyUI Workflow From an Image?

Here's something a lot of beginners don't realize: when ComfyUI generates an image using its own built-in save nodes, it can hide the entire workflow inside that image file. This means any image ComfyUI creates can also work as a workflow file.

  1. Build or load any workflow, then click the orange Queue Prompt button (on some versions labeled Run) in the top-right corner of the screen.
  2. A progress bar appears underneath the button while the image generates. This usually takes 15–60 seconds, depending on your GPU and the workflow's settings.
  3. Once it finishes, the image appears in ComfyUI's preview area and is also saved to your output folder on your computer.
  4. To load the workflow back from that image later, drag the image file from your file manager onto the ComfyUI browser window.
  5. Your screen should redraw with the exact nodes and settings that created that image — even if you never separately saved a JSON file for it.

Why this works: ComfyUI writes the full workflow into the image file's hidden metadata (information stored inside the file but not visible when you look at the picture). Every image you generate in ComfyUI is automatically a backup of the workflow that made it.

A generated PNG sitting in the ComfyUI output folder🔍 Click to zoom
Any image ComfyUI generates here can be dragged back in later to recover its workflow.
Tip: If you want to send someone an image so they can reload your workflow from it, send them the original file straight from your output folder. Don't take a screenshot, and don't re-save it through another program first.
Warning: Editing software and some messaging apps compress or re-save images when you send them, and this can strip out the hidden workflow data completely. If you're not sure, test by dragging the image back into ComfyUI yourself before sending it.
Warning: The hidden workflow data includes your full prompt text and every setting you used. If your prompt contains anything private, don't share that image.

Way 3: How Do You Drag and Drop a Workflow Into ComfyUI to Import It?

Drag and drop is the fastest of the three methods, because it skips the menus entirely — and it works for both file types covered above.

  1. Open your file manager (File Explorer on Windows, Finder on a Mac) and find either a .json workflow file or an image that ComfyUI generated.
  2. Click and hold on the file, then drag it over to your browser window where ComfyUI is open, and release.
  3. ComfyUI should immediately load the workflow, redrawing the canvas with all the nodes from that file.

How to Import a Workflow From the Menu Instead

If you'd rather not drag files around, you can do the same thing through the menu:

  1. Open the File menu.
  2. Click Open, or use the Ctrl+O shortcut.
  3. Select your .json file or a ComfyUI-generated image from the file browser.

Both routes end up in the same place — pick whichever feels easier.

Once saving and loading feels automatic, the next habit worth building is keeping ComfyUI itself current without losing any of these files — see how to update ComfyUI safely.

How Do You Share a Workflow So It Opens on Someone Else's Computer?

Sending the file is the easy part. The problem beginners run into is that a workflow file only stores the layout — it doesn't include the extra pieces your version of ComfyUI has installed.

Two things commonly go missing on the receiving end:

  • Custom nodes(extra blocks added through community extensions that aren't part of ComfyUI by default). If the sender's workflow uses one and the receiver doesn't have it installed, that node shows up broken.
  • Checkpoints (the main AI model file that controls what style of images get generated) and any other models the workflow uses. These are often too large to send by email and need to be downloaded separately.

Before you send a workflow to someone, include:

  1. The .json file or the original image — not a screenshot.
  2. The exact name of any custom nodes used, so they can install them through ComfyUI Manager (the built-in tool for installing and managing extra nodes).
  3. The exact name of any checkpoint or other model files used, and where you downloaded them from.
  4. Your ComfyUI version, in case something behaves differently on an older or newer install.

If the person opens your workflow and sees nodes turned red, that almost always means step 2 was skipped — see the troubleshooting section below, and Install Missing Nodes in ComfyUI for the full fix.

Tip: ComfyUI also added App Mode and shareable app links through ComfyHub in 2026, which let you share a working app instead of a raw file. That's a bigger topic on its own — see ComfyUI 2026 Updates & New Features if you want to explore it.

Why Won't My ComfyUI Workflow Load? (3 Common Errors)

Running into something else? Our general ComfyUI troubleshooting guide covers errors that show up across every workflow, not just loading.

"Unable to find workflow in [filename].png"

This error means ComfyUI looked inside the image file for hidden workflow data and didn't find any. It has a few possible causes:

  1. The image was re-encoded or compressed after ComfyUI created it — by a messaging app, an editing tool, or a website that resizes uploads. This strips the hidden data out completely, with no way to recover it afterward.
  2. Metadata saving was turned off in ComfyUI itself, either through a setting called Disable saving prompt metadata in files, or a startup option. If this was on when the image was made, it never had the data to begin with.
  3. The image wasn't made by ComfyUI at all — for example, a picture downloaded from a website that only looks similar.
  4. You dragged the image from a web page instead of a downloaded file. Dragging directly from a site can grab a version that's already had its metadata stripped, even though the same file works fine once properly downloaded first.

How to fix it: Download the image to your computer first (don't drag straight from a browser tab), then try dragging that downloaded copy in. If it still doesn't work, the metadata was likely stripped before you received the file — you'll need the original .json file instead.

Nodes Are Red After Loading a Workflow

If your workflow loads but some nodes appear with a red outline, ComfyUI is telling you it can't find one or more custom nodes that workflow needs. This usually happens when you load a workflow someone else built, or when an older workflow file was made with extensions your version doesn't have.

How to fix it:

  1. Note the name of each red node.
  2. Open ComfyUI Manager and use its missing-node installer, or follow the full steps in Install Missing Nodes in ComfyUI.
  3. Restart ComfyUI after installing, then reload the workflow.
Warning: Updating ComfyUI itself can occasionally cause older saved workflows to show red nodes too, since some very old files may not work properly with newer versions.
Red-outlined missing-node boxes after loading a shared ComfyUI workflow🔍 Click to zoom
Red nodes almost always mean a custom node used by this workflow isn't installed.

Ctrl+S Opens a Browser "Save Page" Box Instead of Saving Your Workflow

On some browsers, pressing Ctrl+S gets intercepted by the browser itself instead of reaching ComfyUI, and you'll see your browser's own "save this webpage" dialog pop up instead of your workflow saving.

How to fix it: Close that dialog, then use the File → Save menu option instead. It saves your workflow correctly every time, regardless of what your keyboard shortcut does.

Frequently Asked Questions

On a typical Windows portable install, saved workflows go into your ComfyUI folder under user\default\workflows. If you’re using a different install type, check your ComfyUI folder for a similarly named workflows folder — the exact path can vary.

Save creates a normal workflow file that keeps your full layout and reopens exactly as you left it. Export (API) creates a stripped-down file meant for developers running ComfyUI through code — it drops the visual layout and isn’t meant for everyday saving or sharing.

Only images saved using ComfyUI’s own built-in save nodes contain the hidden workflow data. If the image was compressed, re-saved through another program, or downloaded from a website that strips metadata, the workflow data won’t be there anymore.

Yes, an API-format file can technically be loaded, but it won’t include your original node positions or colors, so the layout will look different from how you originally built it.

No. A screenshot is a completely new image created by your screenshot tool, so it never contains ComfyUI’s hidden workflow data, even if it shows the exact same picture.

Yes. If the image still has its hidden workflow data, that data includes your full prompt text and every setting used to create it. Don’t share an image if your prompt contains anything you’d rather keep private.

What to Do Next

Keep ComfyUI updated without losing your saved workflows.

Now that your workflows won't disappear on you, the next thing worth learning is how to update ComfyUI itself safely — including what to check first so an update doesn't turn your saved workflows red.

What to Read Next

If you're just getting started, the basic text-to-image workflow is the natural place to practice saving and loading. Ran into red nodes above? Go straight to Install Missing Nodes in ComfyUI. And if you want to explore ComfyUI's newer sharing tools, see ComfyUI 2026 Updates & New Features.

— Written as a personal recommendation from the Earngenix team.

Published: 2026-09-29 · Last updated: 2026-09-29 · Steps verified against a current ComfyUI install.

Discussion

Join the discussion

Sign in to leave a comment or reply

💬

No comments yet

Be the first to share your thoughts!