Commons:QuickEXIF

QuickEXIF
Description QuickEXIF
Author User:Kevin Payravi / WikiPortraits
First released February 5, 2026; 60 days ago (2026-02-05)
Updated March 13, 2026
    (23 days ago)
Source GitLab repo
User:Kevin Payravi/QuickEXIF.js

QuickEXIF is a user script that allows users to edit select EXIF metadata fields on JPG files, in-browser without leaving the filepage.

This script is brand new and EXIF is a bit tricky, so use with caution and beware of bugs. Please report any issues on the talk page.

Developed by User:Kevin Payravi as part of the WikiPortraits initiative.

Usage guidelines

The primary purpose of this script is to enable photographers to easily edit the EXIF on their own files. Generally, the original photographer defines their own EXIF metadata, and this should be preserved.

For files uploaded by others, you'd generally only edit the EXIF to correct obvious errors (like clearly wrong dates or descriptions). In most other cases, descriptive metadata should instead be managed on the on-wiki file description page. Use the {{Information}} template to define description and dates, and add the {{Location}} template for GPS coordinates.

Re-uploads made using this script receive the QuickEXIF tag, to easily monitor usage.

Fields

This script is limited to select fields that are more frequently customized and changed by photographers, as opposed to fields that aren't expected to change (such as camera model, camera settings, etc.).

  • Image Description - Description of the image
  • Date and Time (DateTimeOriginal) - When the photo was taken
  • Photographer (Artist) - The photographer's name
  • Copyright - Copyright holder information
  • GPS Latitude - Geographic latitude coordinate
  • GPS Longitude - Geographic longitude coordinate

If you would like to see support for additional fields, please suggest them on the talk page.

Installation

While logged into your Wikimedia Commons account:

  1. Go to Special:MyPage/common.js
  2. Add the following code:
    mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Kevin_Payravi/QuickEXIF.js&action=raw&ctype=text/javascript'); // Backlink: [[Commons:QuickEXIF]]
  3. Save the page

Usage

  1. Navigate to any image JPG file page on Wikimedia Commons
  2. Locate the file's metadata table towards the bottom of the page
  3. Click the Edit EXIF button that appears above the metadata table
  4. Edit the desired fields:
    • For dates: Use the date/time picker or enter in format: YYYY-MM-DDTHH:MM
    • For text fields: Simply type the new value
    • For GPS coordinates: Enter in decimal degrees (e.g., 40.7128)
  5. Optionally add a custom edit summary describing your changes
  6. Click Save and Re-upload
  7. Wait for the script to download, modify, and re-upload the image
  8. The page will automatically reload to show the updated metadata

Development notes

This script was written and is maintained by User:Kevin Payravi.

Source code is maintained at gitlab.wikimedia.org/repos/WikiPortraits/QuickEXIF.

This script uses piexifjs for EXIF manipulation, which is embedded directly in the userscript and licensed under the MIT License.

See also

Category:Commons user scripts Category:Exif
Category:Commons user scripts Category:Exif