JPG to PGM

Upload a JPG file and download it as PGM. Free to start.

Drop files here, or press Enter to choose them. Up to 50 MB per file.
Drop a JPG file hereFree · up to 50 MB · 10 operations in total without an account · or paste with Ctrl+V
  • Sent over HTTPS · link expires in 24 h

How it works

  1. Step 1:

    Drop the JPG file on the orange block above, or press “Choose JPG”.

  2. Step 2:

    Press “Convert to PGM”. The block shows the progress while the server converts the file.

  3. Step 3:

    Press “Download” to save the PGM file. On Free the link works for 24 hours.

How JPG to PGM conversion works

JPEG Image (JPG) uses lossy DCT compression that permanently discards fine pixel detail to achieve small file sizes, ideal for photographs. PGM file (PGM) stores data in the PGM format. This embeds the raster image inside a document container, fixing its dimensions on the page. Metadata such as creation date is preserved where the target format supports it; features the target format cannot represent are dropped. The result is a standard PGM file readable by any compatible application. 1converter handles JPG-to-PGM conversion server-side: files are uploaded over HTTPS, processed on isolated cloud infrastructure, and the converted output is available for download for 24 hours before automatic deletion. No account is required for standard conversions.

Sources and specifications

Quality levels for JPG → PGM

LevelFile sizeSpeed
Low qualitySmallest file, basic qualityVery smallVery fast
Medium qualityRecommendedBalanced size and qualityMediumFast
High qualityLarger file, great qualityLargeModerate
Maximum qualityLargest file, best possible qualityVery largeSlow

Image Tip: For photos, Medium quality offers the best balance. For graphics with text or sharp edges, use High or Maximum quality to preserve clarity.

When to convert

What the PGM file is good for and why people convert to it.

  • PGM stores pixel intensities directly, avoiding JPEG’s lossy artifacts for measurement work
  • Uncompressed PGM preserves exact grayscale values per pixel (no DCT quantization)
  • Preprocessing screenshots for computer-vision pipelines that ingest PGM grayscale images
  • Converting scanned documents to grayscale PGM for thresholding and segmentation

Where your file goes

  • It travels to our server over an encrypted HTTPS connection and is converted there.
  • The PGM file comes back as a private link. It stops working after 24 hours on Free and 7 days on paid plans, and then the files are deleted.
  • Want the file to stay on your device? Private Mode converts images right in the browser. Open Private Mode

Questions and answers

What people ask before converting JPG to PGM.

What changes when converting JPG to PGM?
JPG is lossy and uses DCT compression, while PGM is typically uncompressed grayscale storage. Converting produces a grayscale intensity map (PGM) suitable for pixel-level processing.
Does JPG quality improve after conversion to PGM?
No—PGM cannot recover detail lost during JPG’s lossy compression. It will store the resulting grayscale pixels, but artifacts from the original JPG remain.
Will the PGM file be larger than the JPG?
Often yes, because PGM (especially binary P5) stores raw pixel values without JPEG compression. The size depends on image dimensions and whether PGM is ASCII (larger) or binary.
Is PGM compatible with image-processing tools?
Yes—PGM is commonly accepted by scientific and computer-vision tools that work with grayscale arrays. Many tools expect specific headers and pixel value ranges, which PGM provides explicitly.

Many files at once? Starter converts 5 at a time, 100 a day.

See plans