{"id":50172433,"url":"https://github.com/stefmolin/exif-stripper","last_synced_at":"2026-06-10T16:00:28.008Z","repository":{"id":217399778,"uuid":"743761205","full_name":"stefmolin/exif-stripper","owner":"stefmolin","description":"An easy-to-use tool to ensure image metadata (EXIF) is removed.","archived":false,"fork":false,"pushed_at":"2026-04-26T17:29:08.000Z","size":234,"stargazers_count":33,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-05-10T12:03:01.737Z","etag":null,"topics":["exif","exif-metadata","metadata-remover","pre-commit-hook"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/exif-stripper/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefmolin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"stefmolin","buy_me_a_coffee":"stefanie.molin"}},"created_at":"2024-01-15T23:40:31.000Z","updated_at":"2026-04-26T17:29:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4efc3ea-1eb9-4e84-b9d9-7407864439c1","html_url":"https://github.com/stefmolin/exif-stripper","commit_stats":null,"previous_names":["stefmolin/exif-stripper"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/stefmolin/exif-stripper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefmolin%2Fexif-stripper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefmolin%2Fexif-stripper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefmolin%2Fexif-stripper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefmolin%2Fexif-stripper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefmolin","download_url":"https://codeload.github.com/stefmolin/exif-stripper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefmolin%2Fexif-stripper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34159251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exif","exif-metadata","metadata-remover","pre-commit-hook"],"created_at":"2026-05-25T00:00:46.386Z","updated_at":"2026-06-10T16:00:27.953Z","avatar_url":"https://github.com/stefmolin.png","language":"Python","funding_links":["https://github.com/sponsors/stefmolin","https://buymeacoffee.com/stefanie.molin"],"categories":["List of Content"],"sub_categories":["Software"],"readme":"\u003cdiv align=\"center\"\u003e\n   \u003cimg alt=\"exif-stripper logo\" src=\"https://stefaniemolin.com/exif-stripper/logo.svg\"\u003e\n\n\u003ctable\u003e\n   \u003ctr\u003e\n     \u003ctd\u003e\n      \u003cimg alt=\"Last Release\" src=\"https://img.shields.io/badge/last%20release-inactive?style=for-the-badge\"\u003e\n     \u003c/td\u003e\n     \u003ctd\u003e\n      \u003ca href=\"https://pypi.org/project/exif-stripper/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n        \u003cimg alt=\"PyPI release\" src=\"https://img.shields.io/pypi/v/exif-stripper.svg\"\u003e\n      \u003c/a\u003e\n      \u003ca href=\"https://pypi.org/project/exif-stripper/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n        \u003cimg alt=\"Supported Python Versions\" src=\"https://img.shields.io/pypi/pyversions/exif-stripper\"\u003e\n      \u003c/a\u003e\n      \u003ca href=\"https://github.com/stefmolin/exif-stripper/blob/main/LICENSE\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n         \u003cimg alt=\"License\" src=\"https://img.shields.io/pypi/l/exif-stripper.svg?color=blueviolet\"\u003e\n      \u003c/a\u003e\n     \u003c/td\u003e\n   \u003c/tr\u003e\n   \u003ctr\u003e\n     \u003ctd\u003e\n      \u003cimg alt=\"Build status\" src=\"https://img.shields.io/badge/build%20status-inactive?style=for-the-badge\"\u003e\n     \u003c/td\u003e\n     \u003ctd\u003e\n      \u003ca href=\"https://codecov.io/gh/stefmolin/exif-stripper\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n        \u003cimg alt=\"codecov\" src=\"https://codecov.io/gh/stefmolin/exif-stripper/branch/main/graph/badge.svg?token=3SEEG9SZQO\"\u003e\n      \u003c/a\u003e\n      \u003ca href=\"https://github.com/stefmolin/exif-stripper/actions/workflows/ci.yml\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n        \u003cimg alt=\"CI\" src=\"https://github.com/stefmolin/exif-stripper/actions/workflows/ci.yml/badge.svg\"\u003e\n      \u003c/a\u003e\n     \u003c/td\u003e\n   \u003c/tr\u003e\n   \u003ctr\u003e\n     \u003ctd\u003e\n      \u003cimg alt=\"Downloads\" src=\"https://img.shields.io/badge/%23downloads-inactive?style=for-the-badge\"\u003e\n     \u003c/td\u003e\n     \u003ctd\u003e\n      \u003ca href=\"https://pypi.org/project/exif-stripper/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n        \u003cimg alt=\"PyPI downloads\" src=\"https://img.shields.io/pepy/dt/exif-stripper?label=pypi\u0026color=blueviolet\"\u003e\n      \u003c/a\u003e\n     \u003c/td\u003e\n   \u003c/tr\u003e\n  \u003c/table\u003e\n\n  \u003chr\u003e\n\u003c/div\u003e\n\n# exif-stripper\n\nAn easy-to-use tool to ensure image EXIF metadata is removed. Read more about why this is important [here](https://stefaniemolin.com/articles/devx/pre-commit/exif-stripper/).\n\n## Usage\n\n### Pre-commit hook\n\nAdd the following to your `.pre-commit-config.yaml` file:\n\n```yaml\n- repo: https://github.com/stefmolin/exif-stripper\n  rev: \u003cversion\u003e\n  hooks:\n    - id: strip-exif\n```\n\nIf you only want to remove certain fields, use the `--fields` argument. Note that this argument supports multiple options, which are shown when running `exif-stripper --help`. Be very careful when doing this as you might be leaving some sensitive information behind. Here, we only remove GPS information:\n\n```yaml\n- repo: https://github.com/stefmolin/exif-stripper\n  rev: \u003cversion\u003e\n  hooks:\n    - id: strip-exif\n      args: [--fields=gps]\n```\n\nBe sure to check out the [pre-commit documentation](https://pre-commit.com/#pre-commit-configyaml---hooks) for additional configuration options.\n\n### Command line\n\nFirst, install the `exif-stripper` package from PyPI:\n\n```shell\n$ python -m pip install exif-stripper\n```\n\nThen, use the `exif-stripper` entry point on the file(s) of your choice (use `strip-exif` for versions before 0.6.0):\n\n```shell\n$ exif-stripper /path/to/file [/path/to/another/file]\n```\n\nRun `exif-stripper --help` for more information.\n\n### Python\n\nFirst, install the `exif-stripper` package from PyPI:\n\n```shell\n$ python -m pip install exif-stripper\n```\n\nThen, use the `process_image()` function on individual files (returns `True` if the file was altered and `False` otherwise):\n\n```python\nfrom exif_stripper import process_image\nprocess_image('/path/to/image')\n```\n\n*Note: This requires version 0.4.0 or above.*\n\n## Contributing\n\nPlease consult the [contributing guidelines](https://github.com/stefmolin/exif-stripper/blob/main/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefmolin%2Fexif-stripper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefmolin%2Fexif-stripper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefmolin%2Fexif-stripper/lists"}