# PNG to JPG converter > How do you turn a PNG into a JPG? Pick a PNG and get a JPG, with a colour of your choice under transparent areas. It stays on your device. Convert PNG to JPG in your browser: choose the quality, fill transparent areas with white, black or grey, and save the file. Nothing is uploaded. A preset of [Image convert](https://how.box/image-convert/). - Page: https://how.box/png-to-jpg/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/png-to-jpg/?t={t}&q={q}&bg={bg} - `t` (png, jpeg, webp or avif): File type: png, jpeg, webp or avif. Example: `webp`. - `q` (whole number 1 to 100): Quality from 1 to 100 for jpeg, webp and avif. Example: `90`. - `bg` (white, black or gray): Colour under transparent pixels for jpeg: white, black or gray. Example: `white`. Example answer: https://how.box/png-to-jpg/?t=webp&q=90&bg=white The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `image_convert_file_name`: Tells what converting an image to a file type gives: the new file name, media type and whether the type keeps transparency and is lossy. - MCP: POST https://how.box/mcp `tools/call` with `{"name":"image_convert_file_name","arguments":{…}}`; input schema in https://how.box/agent-tools.json. ## How it works A PNG stores every pixel exactly and can mark pixels as transparent. A JPG gives up both: it drops fine detail the eye hardly notices, which is why a photo is often several times smaller as a JPG, and it has no transparency at all. Converting a PNG therefore does two things: it fills any see-through area with a solid colour, white unless you choose black or gray, and it re-encodes the picture with a quality setting. The conversion pays off for photos and scans, and for uploads that accept only JPG. It does not suit screenshots, logos or text, where the lossy step leaves faint blotches around sharp edges and the PNG may even be the smaller file. If the picture needs its transparent background later, keep the PNG. The table compares the two types, and the example shows the uncompressed size a screenshot-sized picture starts from before either type compresses it. ## FAQ **Is a JPG smaller than a PNG?** For photos, usually much smaller. For flat graphics with few colours or sharp text, a PNG can be smaller and cleaner. **What quality should I pick for a PNG screenshot?** Try 90 and compare the preview with the original around text and edges. Lower values save space but show blotches next to sharp lines first. **Can I turn the JPG back into a PNG with transparency?** No. The transparent areas are replaced by a solid colour when the JPG is made. Keep the original PNG if you need them. **Why is my JPG background white?** A JPG cannot be see-through, so transparent areas of the PNG are filled with a solid colour, white unless you pick black or gray. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)