Skip to main content

Remove EXIF Tag From Image using n8n action

PDF4me Remove EXIF Tag From Image strips metadata and EXIF information from image files through n8n automation workflows. Process images (JPG, PNG) via n8n triggers, binary data, base64 strings, or public URLs to automatically remove EXIF data (GPS coordinates, camera settings, timestamps, device information) while preserving image quality for privacy protection and clean file output. This solution is ideal for privacy protection, web publishing, social media preparation, metadata removal, image anonymization, and automated image cleaning workflows that require complete EXIF stripping with preserved image quality and seamless integration.

Setup

Add the PDF4me "Remove EXIF Tag From Image" node to your n8n workflow and configure the required parameters. For initial setup instructions, see our n8n Integration Guide.

Prerequisites:

  • PDF4me API credentials
  • n8n workflow access

Configuration:

  1. Add PDF4me node to workflow
  2. Select "Remove EXIF Tag From Image" action
  3. Configure input parameters (see below)
Remove EXIF Tag From Image

Parameters

Complete list of parameters for the Remove EXIF Tag From Image action. Configure these parameters to control EXIF data removal.

Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.

ParameterTypeDescriptionExample
Input Data TypeStringYesPDF4me image input format selection
Choose the format of your source image data input.
PDF4me supports multiple input types with different field requirements
1) Binary DataYes (One Required)1) Binary Data - Use "Input Binary Field" to reference image file from previous node
2) Base64 StringYes (One Required)2) Base64 String - Use "Base64 Image Content" field for encoded image data
3) URLYes (One Required)3) URL - Use "Image URL" field to provide a public/open permission URL to the image file to process
Input Binary FieldBinaryYes (If Binary Data)PDF4me binary image file input - Reference source image file (.jpg, .png) from previous n8n node or file upload. PDF4me processes binary image files with automatic format detection and validation. Required when Input Data Type is "Binary Data"
Base64 Image ContentStringYes (If Base64 String)PDF4me base64 encoded image input - Provide source image data (.jpg, .png) as base64 encoded string for secure transmission. PDF4me automatically decodes and processes the image content. Required when Input Data Type is "Base64 String"
Image URLStringYes (If URL)PDF4me public image URL input - Provide a public/open permission URL to the source image file (.jpg, .png) to be processed for EXIF removal. PDF4me downloads and processes the file from the provided URL. Required when Input Data Type is "URL"
Output File NameStringYesPDF4me output filename configuration - Specify the name for the generated image file with proper extension (.jpg, .png). This is an input parameter that configures what the output file will be named. PDF4me ensures unique naming and validates file format compliance
Image TypeStringYesPDF4me image format specification - Specify the expected image format for accurate EXIF removal processing. This helps PDF4me optimize the analysis process for the specific image type
JPGYes (One Required)JPEG Format - Joint Photographic Experts Group format with lossy compression, ideal for photographs and complex images
PNGYes (One Required)PNG Format - Portable Network Graphics format with lossless compression, ideal for graphics with transparency and sharp edges
AsyncBooleanNoPDF4me asynchronous processing - Enable asynchronous processing for large images or when processing time is not critical. When enabled, the operation runs in the background and returns immediately
Binary Data Output NameStringYesPDF4me output variable configuration - Define the variable name for accessing the generated image binary data in your n8n workflow. This binary data can be used as input data in subsequent actions within your workflow

Output

Output Parameters

ParameterTypeDescriptionExample
successBooleanPDF4me EXIF removal status indicator - Boolean flag indicating the success or failure of the EXIF removal process. PDF4me returns true for successful operations and false for any errors, enabling robust error handling in automated workflowstrue
messageStringPDF4me EXIF removal status message - Human-readable status message providing details about the EXIF removal process result. Includes success confirmation or error details for troubleshootingEXIF tags removed successfully
fileNameStringPDF4me generated image filename - The complete filename of the successfully generated image file with proper extension. PDF4me ensures unique naming and validates file format compliance for seamless integration with downstream processesremove_exif_tags.jpg
mimeTypeStringPDF4me output MIME type - MIME type of the generated image file (e.g., "image/jpeg", "image/png"). Useful for content type validation and proper file handling in web applicationsimage/png
fileSizeNumberPDF4me processed image file size in bytes - The exact size of the generated image file in bytes, provided by PDF4me for storage planning and file transfer monitoring1296624
imageTypeStringPDF4me source image format - The format of the source image that was processed for EXIF removal (e.g., "PNG", "JPEG", "GIF", "BMP")PNG

N8N Action Response

The PDF4me Remove EXIF Tag From Image API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:

JSON Response Format

The raw JSON response from the API:

[
{
"success": true,
"message": "EXIF tags removed successfully",
"fileName": "remove_exif_tags.jpg",
"mimeType": "image/png",
"fileSize": 1296624,
"imageType": "PNG"
}
]

Use Cases

Privacy Protection and Data Security

  • Remove GPS coordinates and location data from photos before sharing on social media
  • Strip personal information and camera metadata from images for public distribution
  • Ensure compliance with privacy regulations by eliminating sensitive EXIF data

Web Content Optimization and Performance

  • Reduce image file sizes by removing unnecessary metadata and thumbnails
  • Optimize images for web delivery by eliminating EXIF data that increases file size
  • Improve page load times and bandwidth efficiency for image-heavy websites

Professional Image Processing and Compliance

  • Prepare images for corporate use by removing device information and technical metadata
  • Ensure images meet compliance requirements for data protection and privacy standards
  • Process bulk image collections for consistent privacy protection across digital assets

Get Help