Home › Blog › JPEG and JPG Settings for Photos, Screenshots, Documents, and Websites

JPEG and JPG Settings for Photos, Screenshots, Documents, and Websites

Learn which JPEG and JPG settings work best for photos, screenshots, documents, websites, and everyday image sharing.

📅 15/09/2026⏱ 11 min

JPEG and JPG are two file extensions for the same image format. The format is popular because it can reduce the size of photographs and other complex images while preserving a level of quality that usually looks good on screens.

There is no single best JPEG setting for every image. A sharp camera photo, a small website thumbnail, a screenshot with text, and a scanned document all have different needs. The right choice depends on the image content, its final size, where it will be viewed, and whether you may edit or save it again later.

The most important settings are JPEG quality, image dimensions, chroma subsampling, and metadata. Quality controls how much compression is applied. Dimensions control the number of pixels. Chroma subsampling reduces color detail to save space, while metadata can add information such as camera settings and location.

JPEG and JPG mean the same thing

JPEG comes from Joint Photographic Experts Group, the organization that created the format. JPG became common because some older operating systems used file extensions limited to three characters. Modern systems accept both .jpeg and .jpg, and the extension does not change the image quality or compression.

JPEG uses lossy compression. Lossy means that some image information is discarded when the file is saved. This makes the file much smaller, but the removed information cannot be restored by simply choosing a higher quality later.

JPEG is especially effective for photographs, digital artwork with smooth color changes, and images containing many shades. It is less suitable for simple graphics, sharp text, logos, icons, and transparent images. Those images often look cleaner as PNG, WebP, or SVG files.

The settings that matter most

Quality level

A JPEG quality setting is usually shown as a number from 0 to 100, although the exact result varies between image editors and encoders. A higher value normally means less compression, better detail, and a larger file. A lower value means more compression, smaller files, and a greater risk of visible defects.

Quality numbers are not universal measurements. A quality value of 80 in one application may not produce exactly the same result as 80 in another. Treat the number as a guide, then inspect the actual image at its intended display size.

Compression artifacts are unwanted changes caused by saving an image with too much compression. Common examples include blocky edges, blurry fine detail, ringing around text, and patches of color in areas that should look smooth. These defects are most obvious in faces, foliage, hair, thin lines, and high-contrast edges.

Pixel dimensions

Pixel dimensions describe an image’s width and height, such as 2,000 by 1,500 pixels. Reducing the dimensions often saves more space than lowering JPEG quality because there are fewer pixels to store.

Resize an image before exporting it when you know its final use. A website image displayed at a small width does not need the full resolution of the original camera file. On the other hand, keep a larger version if the image may be printed, cropped, or reused in a design.

Chroma subsampling

Chroma subsampling is a compression technique that stores less color detail than brightness detail. Human vision is generally more sensitive to brightness changes than to small color changes, so this can reduce file size without being obvious in many photographs.

Common options include 4:4:4, 4:2:2, and 4:2:0. The first keeps the most color detail. The last saves more space and is common for photographs and online images. Text, diagrams, screenshots, and graphics with colored edges can benefit from 4:4:4 or another setting that preserves more color detail.

Metadata

Metadata is information stored inside or alongside an image. It can include the camera model, lens, capture time, editing history, copyright details, and GPS location. Metadata may be useful for personal archives, but unnecessary information increases the file size slightly and can create privacy concerns.

For a public website or image shared with strangers, consider removing GPS data and other private metadata. Keep the original file with its metadata in a safe location if you need it for organization or future editing.

Recommended JPEG settings by image type

The following table gives practical starting points. These are not strict rules because the best result depends on the original image, the encoder, and the way the file will be displayed.

Image typeStarting qualityUseful dimensionsImportant considerations
Camera photos80 to 95Keep the needed print or display sizeInspect faces, hair, foliage, and fine textures
Website photographs70 to 85Resize to the largest display widthBalance page speed with detail and cropping needs
Social media images75 to 90Follow the platform’s current size requirementsLeave room for platform recompression
Screenshots with photographs85 to 95Use the required screen or document dimensionsCheck text and interface edges carefully
Scanned documents80 to 95Use enough resolution for reading or printingJPEG may blur small text and thin lines
Simple graphics and logosUsually avoid JPEGUse the original graphic dimensionsPNG, WebP, or SVG may preserve edges better

Best settings for camera photos

For a personal photo archive, use a high JPEG quality setting, often around 90 to 95, and keep the original pixel dimensions. This retains more texture and gives you room to crop or print the image later.

If the camera also offers a RAW format, keep the RAW file for important images. RAW files store much more capture information for editing exposure, white balance, and shadows. A JPEG export is convenient for sharing, but it should not be considered a full replacement for the original when future editing matters.

For an image intended only for viewing on a phone or laptop, you may be able to reduce the dimensions and use a quality setting around 80 to 90. Check the result at normal viewing size, not only at extreme zoom. A smaller file can look identical on screen while being much easier to store and share.

Best settings for websites

Website images should be large enough for their actual display area, but not larger than necessary. Start by checking the maximum width used by the page. If a content area displays an image at about 900 pixels wide, exporting a 4,000-pixel version usually adds download weight without adding visible detail for most visitors.

A quality setting between 70 and 85 is a reasonable starting point for many website photographs. Use the higher end for portraits, product details, and images with fine textures. Use the lower end when the image is decorative, appears as a small thumbnail, or needs to load quickly on mobile connections.

Always inspect the exported file on the page where it will appear. A photograph may tolerate stronger compression than expected, while a product image with thin edges may need a higher setting. If the site automatically creates several sizes, optimize the source and confirm that the generated versions do not become visibly soft.

JPEG is not the only option for the web. WebP can often provide a smaller file for a similar visual result and supports transparency. You can use the JPG to WebP tool when a JPEG image needs a web-friendly version, then compare the output on the actual page before replacing the original.

Best settings for social media

Social platforms commonly resize and recompress uploaded images. Because of this, exporting an enormous file at maximum quality does not guarantee a better result. The platform may process it again, and the final appearance can depend on its current upload rules.

Resize the image to the platform’s recommended dimensions before uploading. Use a quality setting around 80 to 90 as a practical starting point, then check important details such as faces, small lettering, and strong edges. Avoid repeatedly downloading and re-uploading the same JPEG because each lossy save can add more artifacts.

Keep a high-quality master copy separate from the upload version. This lets you create a new export if the platform changes its image requirements or if you need the image for another purpose.

Best settings for screenshots

Screenshots are a special case. A screenshot of a photograph may compress reasonably well as JPEG, but a screenshot containing interface text, code, icons, or flat color blocks can show blurry letters and halos around sharp edges.

PNG is often a better choice for screenshots with text and simple colors because it uses lossless compression. Lossless means the saved file keeps all image information, so repeated saving does not gradually damage the pixels. WebP can also be useful when you need a smaller file and your target software supports it.

If JPEG is required, use a high quality setting, often 90 or above, and choose 4:4:4 chroma subsampling when available. Avoid resizing small text before export. If the screenshot must be reduced, check it at its final size and confirm that the text remains readable.

Best settings for scanned documents

JPEG can work for scanned pages that mainly contain photographs or large illustrations. It is less reliable for pages with small text, thin lines, tables, or diagrams. Compression can soften character edges and make later optical character recognition less accurate.

For text-heavy documents, PDF with appropriate image settings, PNG, or a document scanning format may be preferable. If a JPEG is required, use enough pixel resolution for the intended reading size and choose a high quality setting. Do not reduce a page to a tiny web thumbnail if people need to read it.

For black-and-white documents, a dedicated monochrome or grayscale workflow may produce a clearer and smaller result than a full-color JPEG. The correct choice depends on whether the page contains color stamps, photographs, highlights, or other details that must be retained.

When to choose high or low JPEG quality

Choose high quality when the image will be edited again, printed, closely inspected, archived as a convenient master, or used for a product where fine detail matters. High quality does not make JPEG lossless, but it reduces the amount of discarded information.

Choose a lower quality when the image is a temporary preview, a small thumbnail, an email attachment with a size limit, or a website decoration viewed at a small size. The lower the setting, the more important it becomes to inspect smooth backgrounds, skin tones, text, and sharp edges.

Do not judge quality from the file size alone. Two images with similar sizes can look very different because their content compresses differently. A cloudy sky may compress easily, while leaves, hair, fabric, and detailed architecture require more data.

How to avoid quality loss when editing

Try to keep the original image and edit from that copy. Each time a JPEG is opened, changed, and saved, the export process may discard more information. Some applications can avoid recompressing untouched areas in limited situations, but you should not rely on that behavior across different programs.

Make several edits in one session and export once when possible. Save the working project in the editor’s native format if you need layers, masks, or adjustable effects. Then create JPEG copies for sharing, publishing, or uploading.

Do not convert a low-quality JPEG to a higher quality number expecting lost detail to return. The new file may be larger, but it cannot recreate information that was already removed. If you need a different format, convert the best available original.

A simple workflow for choosing settings

  1. Identify the image type. Decide whether it is a photograph, screenshot, document, illustration, or mixed graphic.
  2. Measure the required display or print dimensions in pixels, inches, or centimeters.
  3. Resize a copy to the largest size that the final use actually needs.
  4. Choose a starting quality based on the image type and use case.
  5. Compare the result at normal viewing size and at a closer zoom for text and important details.
  6. Check the file size and remove unnecessary metadata if privacy or loading speed matters.
  7. Keep the original or a high-quality master separate from the optimized copy.

If the JPEG looks good but is still too large, reduce its dimensions first when they exceed the real requirement. If the dimensions are already appropriate, lower the quality gradually and inspect the result after each change. This approach is more reliable than selecting the smallest file immediately.

Frequently asked questions

Is JPG better than JPEG?

No. JPG and JPEG are different extensions for the same image format. The extension does not determine the compression level, image quality, or file size. The software used to export the file and the chosen settings have those effects.

What is the best JPEG quality setting?

There is no universal best value. For many photographs, a setting around 80 to 90 is a useful starting point. Use higher quality when fine detail or future editing matters, and test lower quality for small web images or previews.

Is JPEG quality 100 always the best choice?

No. Quality 100 usually creates a larger file, but the visual improvement over a slightly lower setting may be difficult to notice. It also remains a lossy format. Compare the actual exports and choose the lowest setting that preserves the details you need.

What JPEG quality should I use for a website?

Try around 70 to 85 for a photograph, after resizing it to the largest width used on the page. Use a higher setting for detailed products or portraits, and test the image in the real page layout. WebP may be a useful alternative when supported by the site.

Should screenshots be saved as JPG or PNG?

PNG is usually better for screenshots containing text, code, icons, and flat colors because it preserves sharp edges. JPEG is more suitable when the screenshot mainly contains photographic content and a smaller file is important.

Can I make a low-quality JPEG high quality again?

You can save it at a higher quality setting, but this does not restore discarded detail. It only prevents additional loss during that export. Start with the highest-quality original available whenever you need a new version.

Does resizing affect JPEG quality?

Resizing changes the pixel dimensions and can affect sharpness. Reducing an image usually works well when done carefully, but enlarging a small JPEG cannot create genuine fine detail. After resizing, inspect text, edges, and textures at the final display size.

Should I remove JPEG metadata?

Remove metadata when you want to reduce unnecessary information or protect private details such as GPS location. Keep metadata if it helps you organize an archive or preserve copyright and camera information. Store an original copy before removing anything.

Use the related tool

Process your files directly in the browser, for free and without sending them to the TopWebP server.

JPG to WebP