Skip to main content
tweakmyfile.com
0 file bytes uploaded • 100% browser-only

Vietnam e-Visa Portrait & Passport Page (<2 MB JPG) in your browser

Vietnam's official e-Visa portal requires two separate sRGB JPEG uploads — a 4×6 cm portrait under 2 MB and a horizontal passport data page under 2 MB — and this page prepares both in your browser. Applicants frequently hit script-tag errors or low face-match warnings caused by phone XMP metadata, HEIC files, or cropped MRZ lines. Use the two slots below to format your 472×709 px portrait and 1476×1039 px passport bio page as clean JPEGs with EXIF and XMP stripped. Neither image leaves your browser.

Portrait Photo (4×6 cm)

Select or drop a JPEG, PNG, WebP, or HEIC photo. Processing runs 100% locally in your browser.
Target: 472×709px • ≤2 MB

Drop your portrait photo here, or click to browse

Accepts JPEG, PNG, WebP, or HEIC. Your image stays in browser memory and is never uploaded to any server.

Select Photo From Device

Compliance Checklist

  • Dimensions

    Required: 472 × 709 px

    pending
  • File size

    Required: ≤ 2 MB

    pending
  • Format

    Required: JPEG

    pending
  • Color space

    Required: sRGB

    pending
  • Metadata stripped

    Required: EXIF & XMP removed

    pending

Upload a portrait photo first to enable cropping and automatic binary-search JPEG compression under 2 MB.

Passport Data Page

Select or drop a JPEG, PNG, WebP, or HEIC photo. Processing runs 100% locally in your browser.
Target: 1476×1039px • ≤2 MB

Drop your document image here, or click to browse

Accepts JPEG, PNG, WebP, or HEIC. Your image stays in browser memory and is never uploaded to any server.

Select Photo From Device

Compliance Checklist

  • Dimensions

    Required: 1476 × 1039 px

    pending
  • File size

    Required: ≤ 2 MB

    pending
  • Format

    Required: JPEG

    pending
  • Color space

    Required: sRGB

    pending
  • Metadata stripped

    Required: EXIF & XMP removed

    pending

Upload a portrait photo first to enable cropping and automatic binary-search JPEG compression under 2 MB.

Official Vietnam e-Visa Photo & Passport Page Rules — Portrait Photo (4×6 cm)

Single source of truth rendered directly from verified portal rules (Vietnam e-Visa Portrait Photo).

Last verified:
Parameter Official Requirement Compliance Notes
Target Output Dimensions 472 × 709 px Physical size: 40 × 60 mm at 300 DPI (Accepted range: 400 × 600 px to 1200 × 1800 px)
Aspect Ratio 0.67:1 Proportional 472:709 frame
Maximum File Size <= 2 MB (2,097,152 bytes) Strictly enforced per-file upload ceiling
File Format JPEG (.jpg / image/jpeg) Standard JFIF header with EXIF/XMP camera metadata stripped
Color Space sRGB 24-bit full-color sRGB (CMYK and grayscale profiles rejected)
Background Plain white Uniform lighting without harsh facial or wall shadows
Output Filename vietnam-evisa-portrait.jpg Clean ASCII filename safe for government upload portals
Official Portal Rules — Portal upload rule: "Recent photo, size 4x6cm, jpg/jpeg format, file size <= 2MB, face looking straight, no hat, no glasses, polite clothes, white background".
Official Portal Rules — 40 mm x 60 mm at 300 DPI = 472 x 709 px; EXIF and XMP metadata segments stripped.
Official Portal Rules — Vietnam National Electronic Visa system rule: "Photo of the person requesting an electronic visa (newly taken, photo size 4x6 cm, jpg, jpeg format, size <2MB, straight face, no hat, no glasses, formal clothes, white background). Only upload 1 passport data page, upload clear photos, no lost corners".
Official Portal Rules — Both slots output baseline sRGB JPEG under 2 MiB (2,097,152 bytes) with EXIF and XMP metadata stripped.
Verified directly against the primary government specification bulletin.

Official Vietnam e-Visa Photo & Passport Page Rules — Passport Data Page

Single source of truth rendered directly from verified portal rules (Vietnam e-Visa Passport Data Page).

Last verified:
Parameter Official Requirement Compliance Notes
Target Output Dimensions 1476 × 1039 px Physical size: 125 × 88 mm at 300 DPI (Accepted range: 800 × 560 px to 2400 × 1700 px)
Aspect Ratio 1.42:1 Proportional 1476:1039 frame
Maximum File Size <= 2 MB (2,097,152 bytes) Strictly enforced per-file upload ceiling
File Format JPEG (.jpg / image/jpeg) Standard JFIF header with EXIF/XMP camera metadata stripped
Color Space sRGB 24-bit full-color sRGB (CMYK and grayscale profiles rejected)
Background Full passport bio-data page without cropped corners or glare Uniform lighting without harsh facial or wall shadows
Output Filename vietnam-evisa-passport-page.jpg Clean ASCII filename safe for government upload portals
Official Portal Rules — Portal upload rule: "Only upload 1 passport data page, upload clear photos, no lost corners" in JPG/JPEG format under 2 MB ("Image size exceeds 2mb").
Official Portal Rules — Full bio-data page including both ICAO MRZ lines must remain legible; target sized to ICAO TD3 (125 x 88 mm at 300 DPI = 1476 x 1039 px).
Verified directly against the primary government specification bulletin.

How to Prepare Both Vietnam e-Visa Uploads

  1. Fit your 4×6 cm portrait photo

    Select a recent glasses-free portrait against a plain white wall in the first slot and generate a clean 472×709 px JPG under 2 MB.

  2. Fit your full passport data page

    Load a flat, glare-free photo of your entire passport bio page in the second slot so all edges and bottom MRZ chevrons stay inside the 1476×1039 px frame under 2 MB.

  3. Upload each file to its matching slot

    Download both metadata-clean JPGs and attach the portrait on the left upload box and the passport bio page on the right box on evisa.gov.vn.

Why Vietnam e-Visa Uploads Fail on evisa.gov.vn

The Vietnam Immigration Department portal runs both a strict file-header security filter and automated OCR plus face matching between your portrait and your passport bio page.

Why the Portal Says "File Has Script Tag"

Smartphones and desktop editors embed XML-formatted XMP metadata inside JPEG APP1 headers. The security filter on evisa.gov.vn inspects raw bytes, sees XML brackets inside XMP tags, and blocks the file with "File has script tag." Our browser canvas writes fresh sRGB JPEG bytes with zero EXIF or XMP segments.

Passport Bio-Page Glare and Cut-Off MRZ Lines

The portal reads the Machine Readable Zone — the two bottom lines of characters and chevrons — to populate your application. Cutting off any corner or shooting with overhead flash glare causes OCR failure. Keep all four page borders inside the 1476×1039 px frame.

Portrait Rules That Trigger Amendment Requests

  • Do not reuse your passport photo: Cropping your passport bio-page photo as your portrait causes rejection; take a separate recent portrait.
  • Remove eyeglasses: Glasses cause face-match failures and glare; face the camera straight on with ears and forehead visible.
  • Keep slots in order: Swapping the portrait and passport bio-page upload boxes triggers a delayed amendment notice.

Vietnam e-Visa Upload FAQs

Fixes for script-tag errors, MRZ detection, and portrait rejections.

How do I fix the "File has script tag" error on evisa.gov.vn?

That error is triggered by XML/XMP metadata embedded inside phone or editor JPEGs. Generating your portrait and passport page here removes all EXIF and XMP segments while keeping each JPG under 2 MB.

Can I upload a PDF scan of my passport data page?

No. The Vietnam e-Visa upload fields require image files in JPG format under 2 MB, not PDF documents. Photograph the flat bio page in even light and export it through the passport-page slot above.

Why did the portal show a low face-match warning?

Glasses, tilted selfies, hair covering eyebrows, or heavy overhead shadows lower the automated match score against your passport bio page. Retake a straight-on portrait without glasses against a plain white wall.

Is my passport bio page uploaded to any server?

No. Both slots run inside your browser Web Worker; zero bytes of your passport or portrait leave your device.