Open source · v0.1 · macOS & Linux
Convert images
without uploading them.
A small command-line tool that turns HEIC photos into JPEG, PNG or WebP, entirely on your computer. Your originals are never touched.
$ brew install lakunled/tap/fmtshift
$ fmtshift convert IMG_0001.HEIC
Converted IMG_0001.HEIC -> IMG_0001.jpg
$ fmtshift convert ./photos --from heic -o ./jpegs
Converted photos/IMG_0002.HEIC -> jpegs/IMG_0002.jpg
Converted photos/IMG_0003.HEIC -> jpegs/IMG_0003.jpg
Conversion complete
Converted: 2
Skipped: 0
Failed: 0
Duration: 412ms
-
Private
Everything runs locally. No uploads, accounts or tracking.
-
Safe
Originals are never modified, and existing files are kept unless you ask.
-
Fast in bulk
Convert whole folders in parallel, keeping their structure.
-
Faithful
Correct orientation, preserved colour profiles, metadata kept or stripped.
Install
With Homebrew. Image libraries are installed for you.
brew install lakunled/tap/fmtshift
Ubuntu 24.04+ or Debian 13+ (amd64, arm64). Install the image libraries, then download the archive from the latest release.
sudo apt install libvips42t64 libheif-plugin-libde265
tar -xzf fmtshift_*_linux_*.tar.gz
sudo install fmtshift_*/fmtshift /usr/local/bin/
Needs Go and the libvips development files; see the README.
git clone https://github.com/lakunled/fmtshift.git
cd fmtshift && make build
Usage
- Convert one photo
fmtshift convert photo.heic- Choose the format and folder
fmtshift convert photo.heic --to png -o ./out- Convert a folder and its subfolders
fmtshift convert ./photos -r --from heic -o ./jpegs- Remove location and other metadata
fmtshift convert photo.heic --strip-metadata- Save your defaults
fmtshift config set quality 90
See the full CLI reference for every option.