Skip to main content
166 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
  • 5,245
84 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,120
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
41 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
  • 565
36 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
  • 52.4k
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
  • 5,105
27 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
  • 9,000
16 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
  • 261
16 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
  • 278
15 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". ...
BabyBoy's user avatar
  • 963
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

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,250
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
  • 44.1k
8 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,593
7 votes
Accepted

How can I convert a RAW (DNG) photo to a JPG on my iPhone?

Thanks to @nohillside for mentioning the "Convert Image" action in the Shortcuts app. I created a shortcut to add a "Convert to JPG" item on a photo's Share menu by performing ...
pacoverflow's user avatar
  • 1,088
6 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
  • 146
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
  • 203k
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
  • 102k
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
  • 117k
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
  • 102k
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
  • 102k
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
4 votes

Converting M4A file to MP3 - Selected files could not be found

Another solution: Select View | As Songs to display the library as a list of tracks (i.e. not organised by album). This is the key part. Then hold the Control key and select the songs to be ...
user321563's user avatar
4 votes
Accepted

How to convert file format of massive image

netpbm Netpbm is a package of graphics programs and a programming library. Try using the open source netpbm tools to perform the conversion. The conversion will likely look like: pnmtopng input.ppm ...
Graham Miln's user avatar
  • 44.1k

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