MetaWipe adds two practical media utility nodes to ComfyUI:
- MetaWipe (All-in-One): creates cleaned copies of media files with non-essential metadata removed.
- MetaWipe Metadata Inspector: inspects media metadata before/after cleanup with a built-in per-file viewer.
- View and clear sensitive metadata before publishing to the web
- Clean metadata from many sources - single files or entire folders and subfolders of mixed images, videos, audios
- Keep final outputs organized while retaining your original copies
- Clone this repository in
ComfyUI/custom_nodes/.
git clone https://github.com/UltimateIntent/ComfyUI-MetaWipe/-
Restart ComfyUI.
-
Add MetaWipe (All-in-One) and/or MetaWipe Metadata Inspector nodes to your ComfyUI workflow
- Python packages:
pillow,numpy - System dependency:
ffmpegavailable in PATH
Creates cleaned media copies with stable sequential naming.
any_input(required): accepts media from:- file path strings (single or multiline)
- directory paths
IMAGEVIDEOandAUDIOtypes- compatible wrapper objects
recursive(BOOLEAN, defaultfalse): if true, includes subfolders in metadata cleaningoutput_subfolder(STRING, default%Y-%m-%d): target folder under ComfyUI output directory.- Supports
strftimeformatting (%Y,%m,%d, etc.) - Supports environment variable expansion (Windows-style
%VAR%)
- Supports
output_filename_prefix(STRING, defaultclean_): prefix for saved cleaned files.
output_files(STRING): newline-separated list of created file paths.any_out(Any): passthrough-oriented output for downstream chaining.
- Uses incrementing sequence numbers (
00000,00001, ...). - Continues from highest existing sequence in the destination folder.
- Includes original source filename in saved copy names.
- Handles collisions with
_(1),_(2), etc.
Inspects metadata and provides a selectable per-file JSON viewer in the node UI.
any_input(required): accepts the same input forms as MetaWipe.recursive(BOOLEAN, defaultfalse): if true, includes subfolders in metadata viewer
metadata_text(STRING): readable metadata summary.metadata_json(STRING): structured JSON metadata.filepaths_out(STRING): list of inspected file paths.any_out(Any): output of input for graph chaining
- Dropdown selector lets you switch file-by-file.
- Viewer panel displays pretty JSON for the selected item.
- Before/after verification
Any source -> Metadata Inspector (precleaned) -> MetaWipe -> Metadata Inspector (postclean verification)
- Direct cleanup
Any source -> MetaWipe
- Path-based chaining
MetaWipe.output_files -> Metadata Inspector.any_input