anyjpg

Turn ANY image into JPG. Free and processed locally.

Drop images here
or click to select files

Presets

Presets

Pick by what the picture is, not by a number. Web balanced is the default and suits a photograph going onto a page or into a message. Archival is the copy you keep: the most fidelity worth the bytes, with the ICC profile, Exif, XMP and DPI carried across. Screenshots & graphics is for flat colour, text and hard edges, where the colour detail a photograph can spare is exactly the detail that matters. Maximum compression is for a photograph that has to be small. Picking one moves only the controls it sets; anything you change afterwards stays changed, and the chip stops being highlighted.

Quality

Quality

The one dial that decides how much of the original is thrown away. It is not a percentage of anything: jpegli turns it into a perceptual distance, so the same number means about the same visible difference on any picture. 90 keeps fine detail and is the default, 80 is still hard to fault on a photo, and below 70 flat areas start to band and edges pick up a halo.

Advanced Settings

You most likely do not need to touch anything below. If you get lost, reset back to the defaults anytime.

Output Size

Output Size

Both are off at 0. A maximum dimension downscales oversized photos in linear light; a target size makes the encoder search for the highest quality that fits.

Measure Quality

Measure Quality

Decodes each finished JPEG and reports PSNR and SSIM against the pixels that were encoded. It measures the JPEG's own coding loss, not an earlier downscale or bit-depth reduction, and roughly doubles conversion time.

Chroma Subsampling

Chroma Subsampling

Your eye resolves brightness far more finely than colour, so a JPEG can store colour at half resolution and almost nobody sees it. 4:2:0 does that in both directions and is what phones and cameras write; 4:4:4 keeps colour at full resolution and costs more. The difference shows on screenshots, text and line art, because a hard colour edge is exactly what half-resolution colour blurs.

Progressive Mode

Progressive Mode

A progressive JPEG arrives as a whole blurry picture that sharpens, instead of sliding down the screen one strip at a time. It is worth having for anything served over a network, and costs a little size and a little encode time. Every viewer written this century opens one.

Adaptive Quantization

Adaptive Quantization

The encoder looks at the picture and spends its bits where an eye would notice them missing: texture, edges and faces get more, flat sky and blurred background get less. It is what makes a smaller file look the same rather than uniformly softer. There is no reason to turn it off except to compare against an encoder that has none.

Transparency

Transparency

A JPEG has no transparency at all — the format has no channel for it. So anything see-through in the original has to be painted onto something, and this is the colour it is painted onto. White suits most pictures; if you know the page the image will sit on, pick that colour and the join will not show.

Grayscale

Metadata

Metadata

Every picture carries hidden notes alongside the pixels. Open the ? on any row to see what one of them is, and what changes if you switch it off.

Color profile (ICC)

Colours are converted to the standard every screen understands either way. This switch only decides whether the small tag that says so travels with the file. The tag is written when it changes what other apps do — for the wider colours newer screens can show, which look flat without it — and left out for ordinary colour, which every browser and phone already reads correctly, so the tag would add bytes and nothing else.

Camera & photo info (EXIF)

The notes your camera wrote inside the photo as you took it: the date and time, the phone or camera model, the lens, the shutter speed. Switching this off does not touch the picture — it only removes the notes.

Location (GPS)

The exact spot on Earth where the photo was taken, often accurate to the street, saved automatically by most phones. Anyone you send the file to can read it. If you are posting the photo publicly, this is the one to leave off.

How the original was stored (in EXIF)

Tags inside the EXIF that describe the file you started with — how it was compressed, how its colour was laid out, how many bits a pixel used, how large it was. None of it describes the file this makes, so anything reading them is being told about a file that no longer exists. They are dropped by default; turn this on only if you need the original's technical record kept word for word.

Editing & copyright notes (XMP)

Notes added later by editing apps: a caption, keywords, star ratings, your name as the copyright holder, and sometimes the whole history of edits.

Print size (DPI)

A number telling a printer how large to print the picture — 300 DPI means 300 dots per inch of paper. It changes nothing on screen and does not alter a single pixel.

Download

Rasterization

Rasterization

A PDF or an SVG holds no pixels; it holds instructions for drawing a page. This decides how finely those instructions are drawn before anything is converted, in dots per inch of the original page. 150 is comfortable on screen, 300 matches print, and every step up costs memory and time on every page.

PDF & TIFF (multi-page)


Output mode:

SVG Rasterization

How it works

Google's jpegli encoder runs in your browser via WebAssembly. You get smaller, universally compatible JPGs with quality controls, metadata options, and support for 30 input formats.

Nothing uploads. Your images stay in your browser.

30 Input Formats We Convert to JPG

JPG/JPEG: Recompress existing JPEGs with jpegli when you need smaller, universally readable files.

PNG: Convert screenshots, graphics, and transparent images to JPG for smaller shareable files.

WebP: Turn web images into JPG when an app, printer, CMS, or recipient rejects WebP.

AVIF: Convert AVIF to JPG for older browsers, editors, marketplaces, and social platforms.

HEIC: Turn iPhone photos into JPG so they open everywhere without special software.

HEIF: Convert HEIF camera files into JPG for broad desktop, web, and upload compatibility.

PDF: Rasterize pages to pixels, then export JPGs for previews, thumbnails, and easy sharing.

TIFF/TIF: Convert large scans and archival TIFFs into practical JPGs for email and web use.

SVG: Rasterize vector art at your chosen size, then save it as a JPG for apps that need pixels.

SVGZ: Decode compressed SVG artwork, rasterize it, and export a normal JPG.

GIF: Convert the first frame of GIFs into a still JPG that is smaller and easier to use.

BMP: Shrink uncompressed bitmap files into compact JPGs.

TGA: Convert game and graphics-source TGA files into JPGs for quick previews and sharing.

ICO/CUR: Extract icon imagery and save it as a normal JPG.

PNM: Convert portable anymap images into JPGs that regular apps understand.

PPM: Encode raw color portable pixmaps as much smaller JPG files.

PGM: Convert grayscale portable graymaps into easy-to-share JPGs.

PBM/PAM: Turn monochrome bitmaps and arbitrary portable maps into JPGs for everyday compatibility.

JPEG 2000: Convert .jp2, .jpx and bare .j2k codestreams into JPGs that ordinary apps and browsers can open.

JPEG XL: Turn .jxl files into JPG for the many apps and sites that do not decode JPEG XL yet.

PSD/PSB: Convert Photoshop documents to JPG without Photoshop. The flattened composite is read straight out of the file, including CMYK, Lab and 16-bit ones.

Camera RAW: Convert CR2, CR3, NEF, ARW, DNG, RAF and RW2 to JPG using the largest image the camera embedded, with its Exif carried across.

OpenEXR: Tone map scene-linear .exr renders down to JPG with the highlights kept rather than clipped.

Radiance HDR: Convert .hdr and .pic high-dynamic-range images to JPG through the same photographic tone map.

Re-encoding JPEGs

jpegli can often make existing JPEGs smaller at similar visual quality. Repeated re-saves add compression loss, so use higher quality if you plan to edit further.

Terms

Free, as-is, no warranties.