# PDF to JPG converter

https://flaghand.com/pdf-to-jpg draws every page of a PDF as an image: JPG (quality 0.92) or PNG, 1080 or 2160 pixels
wide, or at 300 dpi (an A4 page is 2480 × 3508), on white. Each page downloads on its own, named in order
(slides-01.jpg, slides-02.jpg, ...), or every page as one .zip. The pages are checked against one photo post: X takes
up to 4 photos, LinkedIn 20 and TikTok 35 (JPG or WebP only), with each network's file size limit. A PDF with a
password can't be opened. PDF.js draws the pages, without running the PDF's scripts, forms or links.

Free, no sign-up. It runs in your browser: nothing you type or add is uploaded or stored, and there is no API.

## How to use it

1. Drop, choose or paste a PDF.
2. Pick JPG or PNG and the width.
3. Download a page, or all of them as a .zip.

An agent can preset the choices in the link's hash, which never reaches a server (the PDF can't travel in a link):
https://flaghand.com/pdf-to-jpg#format=png&size=2160
Fields: format=jpeg|png, size=1080|2160|print.

## Sizes.

### Posting

1080 wide **1080 × 1350** A 4:5 carousel page: the post photo size X and LinkedIn use.

2160 wide **2160 × 2700** Twice as sharp, for zooming in or cropping later.

### Carousels

TikTok photo post **35 photos** JPG or WebP, up to 20 MB each.

LinkedIn **20 photos** JPG or PNG, up to 5 MB each. Or post the PDF itself as a document.

X **4 photos** JPG, PNG or WebP, up to 5 MB each.

Checked on November 3, 2026. Every network’s photo limits are in the [social media image sizes guide](https://flaghand.com/docs/guides/social-media-image-sizes).

## Questions.

### How do I convert a PDF to JPG?

Drop the PDF on the page, or choose it. Every page is drawn as a JPG. Tap a page to download it, or choose Download all for a .zip of every page.

### Is my PDF uploaded?

No. The pages are drawn in your browser. Your PDF is not sent anywhere or stored, and the page sets no cookies.

### What size should the images be?

1080 wide is for posting: a 4:5 carousel page comes out 1080 × 1350, the post photo size X and LinkedIn use. 2160 wide is twice as sharp. 300 dpi is for printing: an A4 page comes out 2480 × 3508.

### JPG or PNG?

JPG for photos and for posting: it is smaller, and every network takes it. PNG keeps sharp text and lines exactly, in a larger file; TikTok doesn’t take PNG photos.

### How do I turn a LinkedIn carousel PDF into an Instagram or TikTok carousel?

Drop the PDF here at 1080 wide as JPG and download all. Each page is one photo: TikTok takes up to 35 in a photo post, LinkedIn up to 20 and X up to 4.

### Can it open a PDF with a password?

No. Open the PDF in the app that made it, save a copy without the password, then drop that.

To go the other way, photos into one PDF, use the [JPG to PDF converter](https://flaghand.com/jpg-to-pdf). To post the PDF itself on LinkedIn, see the [LinkedIn PDF carousel guide](https://flaghand.com/docs/guides/how-to-post-a-pdf-carousel-on-linkedin).

## Flaghand

The pages go into a Flaghand draft as photos, a carousel on X, LinkedIn or TikTok, and the owner approves the post before it goes out.

Flaghand is X and LinkedIn posting for AI agents: your agent drafts through Flaghand's API, CLI or MCP server, you
approve the exact preview with your passkey, and Flaghand posts exactly that.
Sign up at https://app.flaghand.com/start. In a chat app, add the connector at https://app.flaghand.com/mcp: its sign-in page creates the account. An agent with a shell can start the sign-up for its person over HTTP (https://flaghand.com/llms.txt, Quickstart).

For agents: https://flaghand.com/llms.txt (this site) and https://app.flaghand.com/llms.txt (the product's agent guide).
