Passport Photo Maker Online

Crop JPG/JPEG, PNG, WebP, AVIF, and BMP portraits with built-in 2 × 2 in, 35 × 45 mm, 33 × 48 mm, and 50 × 50 mm sizes or custom mm / in / px dimensions. Set 300, 600, or custom DPI (72–1200), align the portrait with visual guides, and export a static JPG or PNG locally. Choose settings from your issuing authority's current instructions.

Drop your image here or

Your files remain private and will be processed locally in your browser.

Free to use
No installation required
Secure & private
No daily limits

How to Make a Passport Photo Online in 3 Easy Steps

Prepare a portrait using the size and output requirements for your specific application, directly in your browser:

  1. Choose local images

    Select a Portrait Photo

    Choose one .jpg, .jpeg, .png, .webp, .avif, or .bmp portrait from your device, or drag and drop it directly into the workspace.

  2. Choose your settings

    Set Size (mm / in / px), DPI & Framing

    Choose a preset or custom mm, in, or px size based on the application instructions. Select 300, 600, or custom DPI (72–1200, rounded to a whole number), then frame the portrait with the optional head, eye, chin, and center guides.

  3. Download results

    Verify Dimensions and Download

    Check the rounded output pixel dimensions, choose JPG or PNG, and click “Download Passport Photo.” Verify the final file's format, dimensions, DPI, and byte size against your application instructions.

How Does the CompressFly Passport Photo Maker Work?

The CompressFly passport photo maker sets the crop aspect ratio from a built-in size or your custom width and height. For inches or millimetres, it calculates output dimensions using Pixels = Inches × DPI or (Millimetres ÷ 25.4) × DPI, then rounds to whole pixels. You can choose 300 or 600 DPI, or a custom value rounded to a whole number from 72 to 1200. The selected density is written into the exported file.

Dimensions entered in pixels (px) are also rounded to whole pixels. Each output side is limited to 12,000 pixels, with a total output limit of 80 megapixels. The head, eye, chin, and center guides are manual framing references; they do not detect faces, validate backgrounds, or certify acceptance. Processing and static JPG or PNG export run locally in your browser.

What "in your browser" means

  • No portrait file is uploaded to a server
  • Cropping, sizing, and DPI metadata run on your device
  • The finished JPG or PNG downloads directly from your browser

Passport & Visa Photo Size, Pixel & DPI Reference Guide

These figures show this tool's pixel calculations for each preset. Confirm whether your application asks for a printed size, digital pixel dimensions, minimum or maximum file size, and DPI:

Photo Size PresetOutput at 300 DPIOutput at 600 DPIWhat to Verify for Your ApplicationOptional File-Size Workflow
US 2 × 2 in (50.8 × 50.8 mm)600 × 600 px1200 × 1200 pxSelect when your application specifies a 2 × 2 inch photo. Digital uploads may require a separate pixel size.If needed, set a target with Compress ID Photo or Resize Image to 200 KB. Check the final file against the portal's limits.
35 × 45 mm (≈ 1.38 × 1.77 in)413 × 531 px827 × 1063 pxConfirm a 35 × 45 mm requirement separately from any digital pixel dimensions or minimum file size.Use 50 KB or 100 KB as a target only when it matches your application's file-size requirements.
33 × 48 mm (≈ 1.30 × 1.89 in)390 × 567 px780 × 1134 pxUse when 33 × 48 mm is explicitly requested. Verify head framing, background, and digital upload rules separately.For a separate file-size target, use Compress ID Photo and verify the resulting dimensions and DPI.
50 × 50 mm (≈ 1.97 × 1.97 in)591 × 591 px1181 × 1181 pxA metric 5 × 5 cm square. It differs from 2 × 2 inches, which is 50.8 × 50.8 mm.Set an optional target in Resize Image to KB, then check the final size, pixel dimensions, and DPI.
Custom (mm, in, or px)Calculated and rounded (mm/in); rounded input (px)Calculated and rounded (mm/in); rounded input (px)For a stated pixel size or a physical size not covered by the presets. Confirm which unit and DPI apply.Choose a 20 KB or 50 KB target only if required by the portal. Minimum file sizes may also apply.

Physical sizes are converted with the selected DPI and rounded to whole pixels. Values entered in px are also rounded. A matching size or DPI alone does not certify acceptance.

What to Check Before Submitting Your Passport or ID Photo

Check the current requirements for the issuing authority, document, and application channel. This tool prepares the image but does not certify acceptance:

Authority, Application Channel & Appearance

Confirm whether the photo is for a printed application or digital upload. Review the authority's current rules for expression, glasses, headwear, face visibility, and photo recency.

Head Height & Eye-Line Framing

Use the optional on-screen head, eye, chin, and center guides as a visual aid while zooming and panning, then double-check against the authority's official crown-to-chin measurements.

Background Color & Lighting Rules

Check the required background color, lighting, and shadow rules. Use Remove Image Background only if your issuing authority permits that kind of editing.

File Format & Size Requirements

Verify the required format and minimum or maximum file size. If a smaller file is needed, set a target in Compress ID Photo, then check the final byte size, pixel dimensions, and DPI.

Precision Controls in the Passport Photo Workspace

Combine physical millimeter/inch sizing, DPI density calculation, and interactive framing in one local tool:

4 Size Presets + Custom mm / in / px

Choose US 2 × 2 in, 35 × 45 mm, 33 × 48 mm, or 50 × 50 mm, or enter custom dimensions in mm, in, or px. All output dimensions use whole pixels within the export limits.

300, 600 & Custom DPI (72–1200)

Physical sizes are converted and rounded to whole pixels using 300, 600, or custom DPI. Custom DPI is rounded to a whole number between 72 and 1200, then written as density metadata.

Interactive Zoom, Pan & Visual Guides

Drag and resize the crop frame, zoom in or out smoothly, and toggle the non-printed head, eye, chin, and center-line overlay to center your portrait.

Local Processing & Output Limits

Photos are processed locally in your browser. Each output side is limited to 12,000 pixels and total output resolution to 80 megapixels. These limits apply to export, not the input photo's dimensions.

Passport Photo Maker FAQ

How do I make a passport or ID photo online?

Add a browser-supported JPG/JPEG, PNG, WebP, AVIF, or BMP portrait. Choose a preset or custom size and DPI from your application instructions, then frame the portrait with the optional guides. Check the output dimensions, choose JPG or PNG, and click "Download Passport Photo." Results are static images; animation is not preserved.

What passport photo sizes and pixel dimensions are included?

The four presets are US 2 × 2 in (600 × 600 px at 300 DPI; 1200 × 1200 px at 600 DPI), 35 × 45 mm (413 × 531 px; 827 × 1063 px), 33 × 48 mm (390 × 567 px; 780 × 1134 px), and 50 × 50 mm (591 × 591 px; 1181 × 1181 px). Each pair lists the 300 DPI and 600 DPI calculation. Custom dimensions are also available and are rounded to whole pixels. Choose settings from your specific application's instructions; the presets do not define universal digital-upload standards.

How does the DPI setting (300, 600, or Custom) affect my output photo?

For sizes in inches or millimetres, DPI determines the calculated output dimensions, rounded to whole pixels. A 2 × 2 inch size gives 600 × 600 pixels at 300 DPI or 1200 × 1200 pixels at 600 DPI. Values entered in px are also rounded to whole pixels. The selected DPI is written into the output file's density metadata.

What are the maximum custom size and custom DPI limits?

Custom DPI is rounded to a whole number from 72 to 1200. Output dimensions are rounded to whole pixels, with no more than 12,000 pixels on either side and no more than 80 megapixels in total. These limits apply to the generated file, not the source image's dimensions.

Does the on-screen composition guide guarantee that my passport photo will be accepted?

No. The head, eye, chin, and center-line overlay is a general visual reference to help you position and zoom your portrait manually. It does not perform automated face detection, verify biometric measurements, inspect lighting or background rules, or certify official acceptance. Always check the current instructions of your issuing authority before submitting.

Can this passport photo maker remove or change the background color?

The tool crops and resizes the existing photo without automatic background removal or background-color replacement. PNG can retain existing transparency, while JPG fills transparent areas with white. If your issuing authority permits background editing, use Remove Image Background first when needed.

How do I compress my cropped passport photo to a strict KB limit (like 50 KB, 100 KB, or 240 KB)?

Check the portal's required format and both minimum and maximum file sizes. If a smaller file is needed, set a target in Compress ID Photo or Resize Image to KB. Download and verify the final byte size, pixel dimensions, and DPI, since further compression, resizing, or conversion can change these properties.

Are my passport photos uploaded to a server, and is this tool free?

No files are ever uploaded—all cropping, DPI calculation, and JPG/PNG exporting happen 100% locally inside your web browser on your own computer or phone. CompressFly's passport photo maker is completely free with no watermarks, no daily limits, and no account registration required.