What a JPEG file is and why you'd use one

A JPEG is a compressed image format that makes photos smaller without losing much visible quality. When you take a photo on your phone or camera, or when you read an image from the web, it's often already a JPEG. The format works well for photographs because it balances file size against image sharpness — a photo that might be 50 MB as an uncompressed file can be 2 to 5 MB as a JPEG and look nearly identical to your eye.

You create a JPEG when you save or export an image in that format. Most of the time your device does this automatically, but sometimes you need to convert an image from another format (like PNG or BMP) into a JPEG, or you need to save a screenshot or edited photo as a JPEG so it takes up less space or works with a specific program or website.

Key Takeaways

  • Most phones and cameras save photos as JPEGs automatically, so you likely already have JPEG files without doing anything.
  • On Windows, right-click an image file, choose "Open with" and select Paint, then use File > Save As and pick JPEG from the format dropdown.
  • On Mac, open an image in Preview, go to File > Export, and choose JPEG from the Format menu before saving.
  • Online tools like Convertio or CloudConvert let you upload an image and read it as a JPEG without installing software.
  • When you save as JPEG, the program usually asks you to choose a quality level — higher quality means a larger file, lower quality means smaller but grainier.

Converting an image to JPEG on Windows

If you have an image in another format and need it as a JPEG, the simplest route on Windows is the built-in Paint program. Right-click the image file, select "Open with," and choose Paint from the list. If Paint doesn't appear, click "More apps" and scroll down to find it.

Once the image is open in Paint, click File in the top left, then select "Save As." A dialog box appears. In the "Save as type" dropdown near the bottom, click the arrow and select "JPEG Picture (.jpg)." Type a name for the file in the "File name" field, choose where you want to save it, and click Save. Paint may ask you to confirm the quality level — the default is usually fine for most uses.

If you're working with a screenshot you just took, press the Windows key and Shift and S together to open the screenshot tool. Draw a box around what you want to capture, and the image appears in a small window. Click the save icon (it looks like a floppy disk) and choose JPEG as the format.

Converting an image to JPEG on Mac

On a Mac, the Preview app handles image conversion. Find your image file in Finder, double-click it, and it opens in Preview automatically. If it doesn't, right-click the file, select "Open With," and choose Preview.

With the image open, click File in the menu bar at the top, then select "Export." A save dialog appears. Near the bottom, you'll see a "Format" dropdown — click it and select JPEG. Give the file a name, choose where to save it, and click Save. If a quality slider appears, you can adjust it; the default setting works for most photos.

Using an online converter if you don't want to install software

If you prefer not to use your computer's built-in tools, several free websites convert images to JPEG without requiring you to read or install anything. Convertio and CloudConvert are two common options. Go to the website, click the button to upload your image, select JPEG as the output format, and click Convert. The website processes the file and gives you a read link.

Online converters work on any device — phone, tablet, or computer — and they're useful if you're working on a borrowed computer or a device where you can't install programs. The tradeoff is that your image file travels to someone else's server, so avoid this method if the image contains sensitive information.

Choosing quality when you save as JPEG

When you save an image as a JPEG, most programs ask you to pick a quality level, usually shown as a number from 1 to 100 or as a slider. Higher numbers mean better quality but larger file sizes. A quality setting of 80 to 90 looks nearly identical to the original to most people and keeps the file reasonably small. A setting of 60 to 70 is noticeably compressed but still acceptable for web use or email. Below 50, the image starts to look grainy or blurry.

If you're saving a photo for printing, use 85 or higher. If you're uploading to social media or email, 75 to 80 is usually enough. If you're just storing the image and space is tight, 70 works. You can always re-save the same original image at a different quality if you change your mind later.

Why your photo might already be a JPEG

Most phones, tablets, and digital cameras save photos as JPEGs by default. If you took a photo on your device and want to check the format, look at the file name — if it ends in .jpg or .jpeg, it's already in the format you need. You don't have to convert it.

Screenshots, however, often save in a different format depending on your device. On Windows, screenshots typically save as PNG. On Mac, they save as PNG as well. If you need a screenshot as a JPEG, use the conversion steps above.

What to do if the conversion doesn't work

If Paint or Preview won't open your image, the file might be corrupted or in a format those programs don't recognize. Try opening it with a different program first — on Windows, try Windows Photos (search for "Photos" in the Start menu); on Mac, try opening it with another app by right-clicking and selecting "Open With."

If the file still won't open, an online converter is your next step. If that also fails, the file itself may be damaged and not recoverable. In that case, you'd need the original image from wherever you got it.

Frequently Asked Questions

What's the difference between .jpg and .jpeg?

There is no difference. Both are the same format. .jpg is the older three-letter version, and .jpeg is the newer four-letter version. Windows and Mac both recognize both names. You can rename a file from .jpg to .jpeg or vice versa and it will work the same way.

Will converting to JPEG make my image look worse?

JPEG compression is designed to be invisible at normal quality settings. If you save at 80 or higher, you won't see a difference. At lower settings (60 or below), you might notice the image looks slightly blurry or has visible blocks of color. You can always experiment with the quality slider to find the right balance for your needs.

Can I convert a JPEG back to PNG or another format?

Yes, you can convert a JPEG to another format the same way you convert to JPEG — use Paint or Preview, or an online converter. However, once a JPEG is compressed, converting it to another format won't restore the quality you lost. Always keep the original file if you might need it in different formats later.

Why is my JPEG file still huge after I save it?

If the original image is very large (like 4000 by 3000 pixels from a high-end camera), the JPEG will still be large even at lower quality settings. To make the file smaller, you need to resize the image to fewer pixels, not just change the format. Most image programs have a "Resize" or "Scale" option in the Image menu.

Do I need special software to create a JPEG?

No. Every computer comes with a program that can save images as JPEG — Paint on Windows and Preview on Mac. If you're editing photos, programs like Photoshop, GIMP, or Photopea can also save as JPEG. For straightforward conversion, the built-in tools are enough.