# JPG to PNG converter

https://flaghand.com/jpg-to-png saves JPG images as PNG, many at once, each at its own width and
height, turned the way its EXIF says. A PNG keeps every pixel of the JPG, in a larger file; it can't bring back detail the JPG lost, and a JPG's background stays as it is. It opens any of PNG, JPG, WebP, GIF, AVIF and BMP (and HEIC where the
browser can); an animated image keeps only its first frame, and the page says so. Each new file is checked against the networks' photo rules as Flaghand checks them before posting: X takes
JPG, PNG or WebP up to 5 MB; LinkedIn JPG or PNG up to 5 MB; Threads JPG or PNG up to 8 MB; Instagram only JPG, up to
8 MB; TikTok photo posts JPG or WebP up to 20 MB. Download one file, or all as a .zip.

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 JPG images.
2. Nothing to pick: a PNG keeps every pixel.
3. Download one, or all as a .zip.

An agent can preset the choices in the link's hash, which never reaches a server (images can't travel in a link):
https://flaghand.com/jpg-to-png#to=png
Fields: to=png|jpg|webp (the page starts on png), quality=100|92|80. For WebP to PNG: https://flaghand.com/webp-to-png.

## Who takes which.

### X and LinkedIn

X **JPG, PNG, WebP** Up to 5 MB a photo.

LinkedIn **JPG, PNG** Up to 5 MB, through its API. Not WebP.

### Instagram and Threads

Instagram **JPG** Up to 8 MB, through its API. Not PNG or WebP.

Threads **JPG, PNG** Up to 8 MB. Not WebP.

### TikTok

Photo post **JPG, WebP** Up to 20 MB a photo. Not PNG.

Checked on November 3, 2026: the formats Flaghand checks before each post, from [X’s media docs](https://docs.x.com/x-api/media/introduction), [LinkedIn’s Images API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/images-api), [Threads](https://developers.facebook.com/docs/threads/overview), [Instagram](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media) and [TikTok](https://developers.tiktok.com/doc/content-posting-api-media-transfer-guide).

## Questions.

### How do I convert JPG to PNG?

Drop the JPG images on the page, or choose them. Each is saved as a PNG at once. Choose Download beside one, or Download all for a .zip.

### Does JPG to PNG improve the quality?

No. The PNG keeps every pixel of the JPG exactly, but it can’t bring back detail the JPG already lost. Nothing gets worse either.

### Will the PNG have a transparent background?

No. A JPG has no transparency, so the PNG is the same picture on the same background. Converting doesn’t remove it.

### Why is the PNG so much bigger?

A PNG compresses without losing anything, which takes far more bytes for a photo. The page shows each file’s size before and after, and whether it is too big for a network.

### Where can I post a PNG?

Through their APIs, X, LinkedIn and Threads take PNG. Instagram takes only JPG, and TikTok photo posts take JPG or WebP, so post the JPG there.

### Are my images uploaded?

No. Each image is converted in your browser. Nothing is sent anywhere or stored, and the page sets no cookies.

Other formats: [WebP to PNG](https://flaghand.com/webp-to-png), [PNG to JPG](https://flaghand.com/png-to-jpg), [JPG to WebP](https://flaghand.com/jpg-to-webp) and [PNG to WebP](https://flaghand.com/png-to-webp). To make a photo smaller too, use the [image compressor](https://flaghand.com/image-compressor). Every network’s photo sizes are in the [social media image sizes guide](https://flaghand.com/docs/guides/social-media-image-sizes).

## Flaghand

A converted image goes into a Flaghand draft like any photo (`flaghand media upload FILE`), and its 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).
