DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
cwebp

How to Save an Image as JPG, PNG, or WebP

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To save an image as JPG, PNG, or WebP, open it in an editor that supports the target format, choose Save As or Export, select the format from the actual file-type menu, and save a new file. Renaming photo.png to photo.jpg does not convert the image encoding. The right choice depends on transparency, lossless preservation, destination compatibility, and file size.

Choose the format before you save

Format Best fit Transparency Compression and compatibility
JPG/JPEG Photographs and images where broad compatibility matters No alpha transparency Lossy compression; quality and file size depend on export settings
PNG Logos, screenshots, diagrams, text, and images needing lossless detail Supports transparency Lossless; often larger than a comparable lossy image
WebP Web delivery when the destination accepts it Supports lossy and lossless modes Google describes it as a modern format supported by software and browsers including Chrome and Opera; check the receiving service before using it

Google documents WebP as having both lossy and lossless compression options compared with JPEG and PNG (Google WebP overview; Google WebP FAQ). No single format is universally smallest or highest quality for every source image and encoder.

Use JPG when

The image is photographic, does not need transparent pixels, and the website or application specifically requests JPG or JPEG. Repeatedly opening and resaving a JPG can introduce additional lossy changes, so retain the original when possible.

Use PNG when

You need transparency, crisp text, interface screenshots, diagrams, or lossless preservation. PNG is also a dependable choice when the destination does not document WebP support.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Pixillion Image Converter Software [PC Download]
  • One-click Process for Converting Your Images
  • Convert Between All Key Image Format
  • Preserve Vector Graphics When Converting

Use WebP when

The destination accepts WebP and you want to choose between lossy and lossless encoding. For a lossless source such as a logo, select the lossless mode in an editor that exposes that setting; for photographs, a lossy export may be appropriate. Confirm the receiving app or upload form accepts WebP first.

Save an image in an editor

  1. Open the original image in an editor that supports the format you need.
  2. Choose File, then Save As, Export, or the application’s equivalent.
  3. Pick JPEG/JPG, PNG, or WebP in the file-type or format selector. Do not rely on changing only the filename extension.
  4. Choose a new name and folder so the original remains available.
  5. Review any format-specific settings, save, and reopen the result in the intended app or upload destination.

Menus vary by application and version. Paint.NET documents a format-specific save configuration dialog for some formats, so the final click sequence is not identical for every file type (Paint.NET File menu documentation).

Paint.NET on Windows

Paint.NET documents support for PNG, JPEG, and WebP (Paint.NET features and documentation).

  1. Open the image in Paint.NET.
  2. Use File > Save As.
  3. In Save as type, choose PNG, JPEG, or WebP.
  4. Enter the destination filename and select Save.
  5. If Paint.NET displays a format-specific configuration dialog, set the available options and confirm.

JPEG exports may ask for a quality value; higher quality generally retains more visual detail while producing a larger file. Keep the original if you may need to export again.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Adobe Photoshop

Adobe’s current Save for Web documentation lists JPEG and PNG output choices (Adobe Save for Web).

  1. Open the image in Photoshop.
  2. Choose File > Export > Save for Web (Legacy), or use the export command available in your Photoshop version.
  3. Select JPEG or PNG in the format menu.
  4. Adjust the displayed quality, transparency, and other options appropriate to the selected format.
  5. Choose Save, set the filename and folder, and confirm the export.

If WebP is not present in your Photoshop version’s export list, use another editor or the command-line converter below rather than changing the extension.

Rank #2
Sale
Norton 360 Deluxe 2027 Antivirus, 5 Devices, Auto-Renews [Download]
  • ONGOING PROTECTION Download instantly & install protection for 5 PCs, Macs, iOS or Android devices in minutes!
  • TOP-PERFORMING VPN Faster speeds, more server locations, and greater connection control to protect your privacy across all your devices, including Smart TVs.
  • ADVANCED SCAM PROTECTION Help spot hidden scams online. With the built-in Genie AI assistant, you’ll never wonder if a message or email is suspicious again.
  • REAL-TIME PROTECTION Advanced security protects against existing and emerging malware threats, including ransomware and viruses, and it won’t slow down your device performance.
  • DARK WEB MONITORING Identity thieves can buy or sell your information on websites and forums. We search the dark web and notify you should your information be found.

Any other editor

The labels may be Export, Export As, or Save a Copy. The important test is whether the format appears in the application’s real output list. If it does not, that application cannot be assumed to create that format; use documented conversion software instead.

Convert to WebP with Google’s cwebp tool

Google provides the cwebp command-line utility and precompiled tools for Linux, Windows, and macOS (Google WebP Getting Started). After installing the tool for your platform, run it from a terminal in the folder containing the source image.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

PNG or JPEG to WebP

This basic command writes a WebP file from a PNG input:

cwebp input.png -o output.webp

The same syntax can be used with a JPEG source:

cwebp input.jpg -o output.webp

Use a different output name or path when you do not want to overwrite an existing file. For encoder options, quality controls, and platform-specific installation details, follow Google’s cwebp documentation rather than assuming that every build exposes identical defaults.

What the command does not do

cwebp creates WebP output; it does not turn a filename extension into a conversion. It also does not decide whether lossy or lossless output is appropriate for your use case without the options you provide. Inspect the generated file and test it where it will be used.

Set quality, transparency, and compatibility deliberately

Preserve transparency

JPG cannot carry transparent pixels. If a transparent logo or cutout becomes a solid background after export, choose PNG or a WebP mode and application that preserve transparency. Also check whether the destination itself supports transparent uploads.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Pixillion Image Converter Software for Mac- Convert Photo and Image File Formats [Download]
  • Convert images to jpeg, gif, png, bmp, tiff and more
  • Rotate, resize and compress digital photos
  • Easily add captions or watermarks to your images
  • Compress thousands of photos at a time with batch conversion
  • Convert images directly from the right-click menu

Balance size and visual quality

Lossy JPEG and lossy WebP discard information to reduce size; the visible result depends on the source and encoder settings. PNG is lossless but can be larger for photographic material. Compare the saved file at its intended display size instead of judging only by the extension.

Match the destination’s requirements

A CMS, form, game engine, or messaging app may restrict extensions, dimensions, or maximum bytes. If its instructions say JPEG, save JPEG even when WebP could be smaller. If it accepts WebP, confirm that previews, downloads, and downstream editors all handle it.

Verify the saved file

  1. Check that the new file has the intended extension and is in the expected folder.
  2. Reopen it in an image viewer or editor. A successful reopen confirms that the file is structurally readable by that application.
  3. Inspect transparency on a contrasting background when transparency matters.
  4. Upload or import a copy into the actual destination and confirm that it displays correctly.
  5. Keep the original until the destination has accepted and displayed the converted file.

An extension alone is not proof of encoding. A converter or editor should create the file, and reopening it provides a practical check of the result.

Troubleshoot common conversion problems

The format is missing from the menu

The current application or version may not support that output. Check its official documentation, update it if appropriate, or open the image in an application that documents support for the required format. Paint.NET’s documentation explicitly lists PNG, JPEG, and WebP support; Photoshop’s cited Save for Web page lists JPEG and PNG.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The transparent background turned white

You probably selected JPEG, which has no transparency. Export as PNG or a transparency-capable WebP mode, then test the result against a contrasting background.

The WebP command is not found

Install Google’s cwebp package for your operating system and ensure the executable is on your command path. Google documents precompiled tools for Linux, Windows, and macOS. Then run the command from the directory containing the source file or provide full paths.

The destination rejects the file

Check the destination’s documented extension and size requirements. Re-export in the requested format rather than merely renaming the file. If WebP is refused, use JPEG or PNG according to the destination’s instructions.

The output looks worse than the original

Review the export’s quality or compression setting and compare the result at normal viewing size. Avoid repeated lossy re-exports by returning to the original source for each new version.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If what you need is an image of a webpage rather than a conversion of an existing local file, ScreenshotNeo returns a PNG, JPEG, WebP, or PDF from one GET request. Before capture it accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each cleanup step can be disabled. Only clean shots are billed: bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing. Responses identify the result with X-Page-Verdict and X-Billed headers.

See the complete parameter list in the ScreenshotNeo API documentation.

cURL

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Node.js

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

Best Value
Image to PDF Converter
  • Convert JPG, JPEG & PNG to PDF
  • Select multiple images

ScreenshotNeo also offers an MCP server with take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients. Other available options include full-page capture with lazy-image loading, CSS-selector element capture, dark mode, device presets and custom viewports, retina scale, PDF paper and page controls, custom CSS or JavaScript, clicks before capture, waits, request blocking, headers, cookies, user agents, authorization, timezone and geolocation, transparent backgrounds, resizing, configurable-TTL caching, signed links, asynchronous jobs with signed webhooks, bulk capture of up to 100 URLs per call, a usage API, and an OpenAPI specification. Parameter names used by other screenshot APIs are accepted to ease migration.

Plan Included shots Price
Free 1,000 per month $0, no card
Starter 3,000 $5
Growth 15,000 $15
Pro 60,000 $39
Scale 250,000 $99
Business 1,000,000 $249

Yearly billing gives two months free, and every feature is included on every plan. Create a free ScreenshotNeo account to get 1,000 screenshots a month without adding a card.

Frequently asked questions

Is JPG different from JPEG?

No. JPG and JPEG are two filename extensions for the same image format; choose whichever extension the destination requests.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can one source image be exported in all three formats?

Yes, provided your editor or converter supports each target. Export each version from the original source so that a lossy intermediate does not reduce later results.

Frequently Asked Questions

Is JPG different from JPEG?

No. JPG and JPEG are two filename extensions for the same image format; choose whichever extension the destination requests.

Can one source image be exported in all three formats?

Yes, provided your editor or converter supports each target. Export each version from the original source so that a lossy intermediate does not reduce later results.

Quick Recap

Bestseller No. 1
Pixillion Image Converter Software [PC Download]
Pixillion Image Converter Software [PC Download]
One-click Process for Converting Your Images; Convert Between All Key Image Format; Preserve Vector Graphics When Converting
$50.00
Bestseller No. 3
Pixillion Image Converter Software for Mac- Convert Photo and Image File Formats [Download]
Pixillion Image Converter Software for Mac- Convert Photo and Image File Formats [Download]
Convert images to jpeg, gif, png, bmp, tiff and more; Rotate, resize and compress digital photos
$39.99
Bestseller No. 4
Memory Stick Image Converter Software (Retail Package)
Memory Stick Image Converter Software (Retail Package)
SONY IMAGE CONVERTER 2 SOFTWARE
$9.89
Bestseller No. 5
Image to PDF Converter
Image to PDF Converter
Convert JPG, JPEG & PNG to PDF; Select multiple images

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Read next

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.