155 votes

How to convert a HEIF/HEIC image to JPEG in macOS?

You can use the command line tool imagemagick to convert HEIC images to JPG. # install imagemagick brew install imagemagick # convert a single image magick convert foo.HEIC foo.jpg # bulk convert ...
wisbucky's user avatar
  • 4,967
73 votes

How to convert a HEIF/HEIC image to JPEG in macOS?

The macOS-native way of doing image conversions like these is apparently sips(1) (raising comments of Pat Niemeyer and jonatan to proper answer status, for improved findability): sips -s format jpeg ...
ecmanaut's user avatar
  • 1,010
66 votes
Accepted

How to Download m3u8 stream to local HD in OS X?

You can use FFmpeg for this. For example: $ ffmpeg -user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7" -i http://185.38....
eret1k's user avatar
  • 776
38 votes
Accepted

How to convert a HEIF/HEIC image to JPEG in macOS?

We just released this little free app for macOS: https://imazing.com/heic Minimum macOS version is 10.8, so no worries with El Capitan. : )
Macmade's user avatar
  • 536
34 votes

Any way to edit metadata of MKV files (without re-encoding)?

I have found a way to do this using mkvpropedit which is part of mkvtoolnix. mkvpropedit "foo.mkv" -e info -s title="This Is The Title" There is a GUI wrapper for this app and other Mac installation ...
TJ Luoma's user avatar
  • 20.5k
29 votes

How can one save a file as plain text in TextEdit?

With TextEdit in focus, select Format → Make Plain Text option in the Menu bar or use the keyboard shortcut Shift + Command + T to change the file encoding to plain text. This will also set the ...
Nimesh Neema's user avatar
  • 50.6k
29 votes

Quick and easy way to batch convert multiple HEIC to png or jpg on macOS?

To convert all .HEIC images in a directory to .png Open terminal. cd to the directory where the .HEIC files you want to convert are stored. Be careful, this will convert all .HEIC files in the ...
stevec's user avatar
  • 4,349
20 votes

How can I convert a .mov into a .gif (or a .apng)?

For Terminal lover ffmpeg -i in.mov -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > out.gif -r 10 tells ffmpeg to reduce the frame rate from 25 fps to 10 -s 600x400 ...
Inder Kumar Rathore's user avatar
18 votes

How to convert a HEIF/HEIC image to JPEG in macOS?

Use the built-in "Convert Image" macOS Quick Action to easily convert HEIC images to JPEG. the right-click menu item opens up a small utility for converting to various formats and sizes:
pkamb's user avatar
  • 8,143
15 votes

Any way to edit metadata of MKV files (without re-encoding)?

The MKVToolNix GUI way: From the menu choose header editor. Open the mkv file. Under segment information there is a title item, change title as you wish. There is not a save button, use the main ...
Xaqron's user avatar
  • 251
14 votes

Command line tool to convert DOC and DOCX files to PDF

You can use the docx2pdf command line tool to bulk convert docx to pdf. It uses Microsoft Word to directly convert to pdf so you will need to have it installed. One macOS, it uses JXA (AppleScript for ...
Al Johri's user avatar
  • 241
14 votes

Any way to edit metadata of MKV files (without re-encoding)?

As an addition one could use mkvpropedit in a bash script to set the title of all mkv files in a directory. (Given the filename is the desired title.) #!/bin/bash # This script takes all mkv files in ...
hedgehog's user avatar
  • 141
10 votes

Convert animated gif to mp4

Beroe's answer was really helpful but I found that when I created mp4s using his method it didn't work on QT or iMovie on El Capitan. I did a little digging and read the encoding logs and stumbled ...
Henry's user avatar
  • 201
10 votes

How to decode a .chm file?

This is pretty easy to do for free you just have to use Terminal and install Homebrew and chmlib. Open Terminal. (/Applications/Utilities/) Install Homebrew by visiting http://brew.sh/ and follow the ...
mthorley's user avatar
  • 201
9 votes
Accepted

Convert image and save to same folder in Automator

Use the following actions: Duplicate Finder Items Change Type of Images Rename Finder Items: Replace Text (" copy" with "") With this sequence, the 'change type' occurs with the copy while ignoring ...
Mockman's user avatar
  • 1,090
8 votes

Command line tool to convert DOC and DOCX files to PDF

In Office 2016 the Automator approach will run into issues due to security sandboxing. (The symptom: Word stays open, and you get an "Error while printing" dialog.) A workaround is to install ...
David Moles's user avatar
8 votes

Any OSX tool to batch remove (or convert) embedded album artwork in MP3 files?

You can use id3v2 to remove all artwork from your mp3 files. I appreciate your wanting to avoid compiling and the like, so below is an easier way to get the tool onto your Mac. Remove all artwork ...
Graham Miln's user avatar
  • 42.9k
7 votes

How can I convert JPG into PDF easily?

Do not install anything else. macOS already has what you need. Just use "sips" In my example a file is called "file.jpg" and I want to convert it to "file.pdf". ...
womenlover's user avatar
7 votes

How to convert a HEIF/HEIC image to JPEG in macOS?

I found Dropbox to be a good conversion tool, as it does it transparently for the usage on any operating system and platform. When you do the shot from iPhone, Dropbox automatically converts .heic ...
Farside's user avatar
  • 1,573
6 votes
Accepted

Using Imagemagick to convert TIFF to PDF

The * in convert *.jpg output.pdf expands to the list of inputs. This means the command you were actually running looked like: convert one.jpg two.jpg three.jpg output.pdf As you can see from this, ...
grg's user avatar
  • 197k
6 votes

How Do I Batch Convert Hundreds of ClarisWorks Documents to a Modern Format?

Taking most of the relevant stuff from the bash script you've linked to and adding some commands to copy the timestamp from the original file to the newly created one will give you #!/bin/bash ...
nohillside's user avatar
  • 97.2k
6 votes

How can one save a file as plain text in TextEdit?

In the Text Edit preferences, you can choose to default to plain text if you don't like the shipping setting of RTF. Also, this can be saved per document so you can clean things up to encode and save ...
Tetsujin's user avatar
  • 112k
6 votes

Command Line Tool to Batch Convert .EML/.EMLX/.MBOX to Searchable PDFs?

I had to do this with ~180 emails, and I used a command tool I found on GitHub that converts .eml to .pdf via .html: https://github.com/nickrussler/eml-to-pdf-converter It takes a little while to ...
lauren.marietta's user avatar
6 votes

How to take a picture with the mac webcam in PNG?

The version of imagesnap distributed through Homebrew (and available on https://github.com/rharder/imagesnap) doesn't support PNG. Apparently support for other formats besides JPG was removed when ...
nohillside's user avatar
  • 97.2k
6 votes
Accepted

Quick and easy way to batch convert multiple HEIC to png or jpg on macOS?

As of macOS Monterey, there's a new Quick Action in Finder called "Convert Image". This will create new files based on the original images, but with the format and size changed. You can ...
Nick K9's user avatar
  • 178
5 votes

Convert XPS to PDF

If you use Homebrew and like the command line then try this: open terminal (cmd+space and write terminal) brew install libgxps xpstopdf file.xps file.pdf open file.pdf You will see the converted PDF ...
Dierk's user avatar
  • 126
5 votes

Any way to edit metadata of MKV files (without re-encoding)?

Just open the file in VLC player, Ctrl+I, choose the desired Metadata, title etc, change and then in the bottom, click 'Save Data'. That's all. No other external editor is needed.
Bathinda Helper's user avatar
5 votes

Converting large amounts of JSON to CSV on macOS

jq works quite well for this, you can install it via Homebrew. Specific usage depends on the structure of your JSON file, the accepted answer on https://unix.stackexchange.com/questions/570548/convert-...
nohillside's user avatar
  • 97.2k
4 votes

What's the best way to extract audio from a video file?

QuickTime Player 10 is able to export audio (without re-encoding), too. Select File > Export > Audio Only… Tested on macOS 10.12 Sierra with QuickTime Player 10.4.
Melebius's user avatar
  • 195
4 votes

How can I convert obsolete word processor files and preserve formatting?

NeoOffice seems to be able to open all my old files, WordPerfect and WriteNow!
ptkenney's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible