Your Mac already has a tool that turns a PDF into a PNG. It is called sips, it lives in Terminal, and it works without a single download. The catch: it only grabs the first page. That limitation matters, and the workaround for multi-page documents is covered below. Everything here uses the command sips pdf to png.
What is Sips and Where to Find it
sips is short for Scriptable Image Processing System. It ships with every copy of macOS and sits at /usr/bin/sips. No download. No installer. Open Terminal from Applications > Utilities and you can run sips immediately. The tool handles image manipulation natively, but it also reads PDF files and renders them to common formats like PNG and JPEG. Because it is part of the operating system, it works on any modern Mac with zero setup.
Single File Conversion PDF to PNG
To turn a single PDF into a PNG image, run this command:
sips -s format png input.pdf --out output.pngReplace input.pdf with the path to your file and output.png with the name you want. The flag -s format png forces PNG output. The --out flag writes to a new file. Leave --out off and sips overwrites the original. Do not do that with a PDF.
This command only renders the first page. If your PDF has three pages, only page one appears in the PNG. That is the hard limit of sips for PDF rendering.
Setting JPEG Quality with Sips
JPEG output gives you control over compression. Use the formatOptions parameter:
sips -s format jpeg -s formatOptions 80 input.pdf --out output.jpgThe number after formatOptions is a percentage. Swap it for the words low, normal, high, or best. formatOptions high produces a larger file with less compression. Dial this up or down to balance file size against image quality.
Resizing Images with Sips
Resize the output after rendering with the -Z flag:
sips -Z 2000 file.pngThis sets the longest side to 2000 pixels. The other dimension scales in proportion. It works on any image format sips supports. Chain it with a render step by running two commands, one after the other.
Batch Converting Multiple PDFs
Process a folder of PDFs in one go with a shell loop. Navigate to the folder in Terminal and run:
for f in *.pdf; do sips -s format png "$f" --out "${f%.pdf}.png"; doneThe loop works like this:
- for f in *.pdf grabs every file ending in .pdf in the current directory.
- sips -s format png "$f" --out "${f%.pdf}.png" renders each PDF to PNG, swapping the .pdf extension for .png in the output filename.
- done closes the loop.
Every output file still contains only the first page of its source PDF. That limitation does not change in a batch.
Adapting the Loop for Other Formats
Switch to JPEG by changing png to jpeg and updating the file extension:
for f in *.pdf; do sips -s format jpeg "$f" --out "${f%.pdf}.jpg"; doneAdd the -s formatOptions flag inside the loop to set JPEG quality for every file at once.
Key Limitation First Page Only
sips renders the first page of a PDF and nothing else. Pages 2, 3, and beyond are ignored. No flag exists to change this. No workaround within sips helps.
For multi-page documents, use a different tool. pdf-converter-mac.net renders every page of a PDF to PNG at 150 DPI. It runs in a browser, requires no app, and adds no watermark. sips cannot do this. The web tool can.
Practical Tips for Terminal Workflows
Four rules for mac terminal convert pdf to image tasks:
- Test on one file first. Run the single-file command on a sample PDF before you process a whole folder. Confirm the output looks right.
- Use absolute paths when needed. If your PDFs sit outside the current directory, give the full path for both input and output.
- Watch file extensions. The batch loop strips .pdf. If your files use uppercase .PDF, adjust the pattern to *.PDF or use both *.pdf *.PDF.
- Combine with resizing. Run the render loop, then a second loop with -Z to resize every resulting PNG to a uniform dimension.
Understanding sips Format Options
The value you pass to -s formatOptions directly shapes file size and visual quality. For JPEG, a low percentage like 30 produces a small file with visible compression artifacts. A high percentage like 90 gives a larger file with cleaner output. The words low, normal, high, and best map to rough quality tiers. Test a few values to find the balance your project needs.