Since iOS 11, every iPhone and iPad saves camera photos by default in Apple’s High Efficiency Image File format—producing files ending in .heic or .heif wrapped around an HEVC (H.265) video frame compression stream. While .heic is great for saving iCloud storage space, it is a brick wall on Indian university, scholarship, and competitive examination portals. Almost every government and admission portal in India validates uploaded images against a 25-year-old standard: baseline JFIF JPEG (image/jpeg, starting with the binary bytes FF D8 FF).
When an iPhone user tries to upload a portrait or signature scan to an NTA, UPSC, SSC, IBPS, state PSC, or college admission portal, three classic errors happen in sequence. First, the file picker either grays out .heic files completely or throws an instant "Invalid File Format: Only JPG/JPEG allowed" error. Second, if the student opens the iOS Files app or Windows Explorer and manually renames IMG_4021.HEIC to photo.jpg, the portal *still* rejects it because the internal binary header is still ftypheic rather than FF D8 FF. Third, even when converted on a generic tool, iPhone portraits frequently appear rotated 90 degrees sideways on the portal preview because older server scripts ignore Apple’s EXIF orientation tag!
This guide explains how to convert iPhone .heic and .heif photos into genuine, upright baseline .jpg files sized to your exact 10–20 KB or 20–50 KB portal requirement—100% locally in your browser without sending your personal photos to unknown cloud conversion websites.
Quick answer & key takeaways
To convert an iPhone or iPad .heic / .heif photo into a portal-ready .jpg under 20 KB or 50 KB without cloud uploads, never rename the file extension manually in the Files app. Instead, load the .heic photo directly into Relwick’s local Photo & Signature tool or Exact Image Compressor—which decodes the Apple HEIC container in browser memory, fixes sideways EXIF rotation, crops to portal dimensions, and exports a genuine baseline JPEG (FF D8 FF).
- Never rename
.heicto.jpgin the Files app or File Explorer; portals inspect internal binary magic bytes (FF D8 FF), not the filename label. - Load
.heicor.heiffiles directly into the local Photo & Signature tool or Exact Image Compressor to decode and re-encode them as true baseline JPEGs in browser memory. - Re-encoding via HTML5 Canvas automatically bakes iPhone EXIF rotation tags upright into the pixel grid so your face never appears rotated 90° sideways on the admit card.
- Converting via local browser tools also converts Apple’s Display P3 wide-gamut colour profile to standard sRGB so skin tones do not look desaturated on government portals.
- You can permanently configure your iPhone camera to shoot JPEGs (
Settings → Camera → Formats → Most Compatible) during application season if you prefer.
Why exam portals reject HEIC—and why renaming `.heic` to `.jpg` always fails
A file extension like .jpg or .heic is merely a hint for your operating system to know which icon to show. When you upload an image to an exam portal, the server’s validation code reads the first 12 bytes of the file—known as its magic bytes or binary signature. A genuine JPEG file always begins with the hexadecimal bytes FF D8 FF (typically FF D8 FF E0 for standard JFIF or FF D8 FF E1 for EXIF). An iPhone .heic file begins with an ISO Base Media File Format box containing the ASCII characters ftypheic, ftypheix, or ftypmif1.
If you simply rename IMG_1045.HEIC to photo.jpg, the filename changes, but bytes 4 through 11 inside the file still spell ftypheic. When the portal’s backend script or the Application file checker inspects the binary stream, it immediately detects an HEIC container disguised with a .jpg label and rejects the upload. To produce a valid .jpg, the HEVC compressed image stream must be decoded into raw RGB pixels and re-encoded through a JPEG DCT encoder.
| Property | Default iPhone camera file (`.heic`) | Portal-compliant upload file (`.jpg`) |
|---|---|---|
| Binary magic bytes (Header) | 00 00 00 .. 66 74 79 70 68 65 69 63 (ftypheic) | FF D8 FF E0 (Baseline JFIF JPEG) |
| Compression codec | HEVC (H.265 intra-frame coding) | Baseline DCT + Huffman coding (ISO/IEC 10918-1) |
| Orientation handling | Stored sideways with EXIF Orientation tag (e.g., 6 = 90° CW) | Pixels physically stored upright in row-major order |
| Colour space | Apple Display P3 (wide gamut, 10-bit/8-bit) | Standard sRGB (8-bit per channel) |
| File size from iPhone | 1.2 MB – 3.5 MB (4032 × 3024 px) | 10–20 KB (signature) or 20–50 KB (photo) |
Solving the infamous "sideways iPhone photo" bug on exam portals
Have you ever uploaded a portrait taken on an iPhone or smartphone only to see your head lying horizontally rotated 90 degrees counter-clockwise on the portal’s confirmation page? That happens because of how phone camera sensors are mounted physically inside the phone chassis. Even when you hold your iPhone vertically in portrait orientation, the sensor often writes the raw pixel rows horizontally in landscape orientation and simply attaches an EXIF Orientation flag (`Orientation = 6`, meaning "Rotate 90° Clockwise when displaying") inside the metadata.
Modern phone galleries and web browsers obey the EXIF Orientation flag automatically, so the photo looks upright to you. However, many legacy Java and .NET image-processing scripts used by Indian recruitment boards strip EXIF tags without rotating the pixels first—turning your vertical passport photo sideways on your admit card! When you process your iPhone photo through the Photo and signature tool or the 50 KB exact image compressor, the image is rendered upright onto an HTML5 Canvas and exported with the pixels physically arranged top-to-bottom and no rotation flags left to misinterpret.
Converting `.heic` to a 20–50 KB `.jpg` in one local browser step
Many students make the mistake of using a two-step workflow with dubious online tools: first uploading their private passport photo or Aadhaar scan to a cloud "HEIC to JPG converter" website (which returns a 2.5 MB .jpg), and then uploading that 2.5 MB file to a second website to resize and compress it under 50 KB. Aside from the obvious privacy risk of uploading biometric and identity documents to remote servers, encoding to JPEG twice in a row introduces double generation loss.
In Relwick’s Photo and signature tool and Exact image compressor, .heic and .heif decoding is built directly into the local browser pipeline. You select the .heic file straight from your iPhone photo library or laptop folder, crop to your portal’s exact dimensions (such as 200 × 230 px or 3.5 × 4.5 cm), and export a byte-verified 20–50 KB .jpg in a single pass—with zero bytes ever leaving your device.
Built-in iPhone settings that make form season even smoother
Along with using local browser tools, knowing three built-in iOS behaviours will save you time whenever you capture documents on an iPhone:
- Switch camera capture to JPEG (`Most Compatible`) — If you want your iPhone camera to save standard
.jpgfiles natively, open Settings → Camera → Formats and switch from *High Efficiency* to Most Compatible. Note that the raw.jpgwill still weigh 2–4 MB and need local resizing/compression to hit 20–50 KB. - Turn off Live Photos when shooting documents or portraits — A Live Photo bundles a
.heicstill image with a 3-second.movvideo clip. Tapping the concentric Live Photo icon at the top of the Camera app turns it off so you capture a clean still frame. - Avoid using the iOS Screenshot trick for marksheets — Some students take a screenshot of a photo to turn it into a
.png. Not only do portals reject.pngfiles when.jpgis required, a phone screenshot limits resolution to your screen dimensions and includes status bars if not cropped carefully.
Why converting Display P3 to sRGB keeps your skin tone natural
iPhones capture photos in the wide-gamut Display P3 colour space. When a recruitment portal strips the embedded ICC colour profile from a raw iPhone image to save space without converting the colour values to sRGB first, warm skin tones suddenly look pale, greenish, or washed out on the admit card. Rendering the image through the local browser Canvas pipeline automatically converts Display P3 pixel values into standard sRGB before writing the final JPEG.
Step-by-step: Convert an iPhone HEIC photo to a 20–50 KB JPG locally
- Open the Photo & Signature tool in Safari, Chrome, or any laptop browser
Navigate to Photo & signature (or 50 KB image compressor if you do not need to change pixel dimensions) directly on your iPhone, iPad, Mac, or Windows PC.
- Select your `.heic` photo or signature capture
Choose the photo from your Photo Library or Files app. The local browser worker decodes the
.heic/.heifcontainer directly in memory without uploading it anywhere. - Crop upright and enter your portal’s pixel or cm dimensions
Align the crop frame around your head and shoulders (or signature) and enter the required dimensions, such as 200 × 230 px or 276 × 354 px (3.5 × 4.5 cm at 200 DPI).
- Set the byte target (e.g., 20–48 KB for photo, 10–19 KB for signature)
Enter the minimum and maximum kilobyte range required by your portal. The encoder converts Display P3 colour to sRGB, bakes the upright orientation, and outputs a genuine baseline
.jpg. - Verify `FF D8 FF` magic bytes in the Application File Checker
Drop the saved
.jpginto Application file checker to confirm that its binary header is genuine JPEG, its dimensions match your rule, and its byte count sits inside your window.
Common mistakes to avoid
What goes wrong: Renaming IMG_001.HEIC to photo.jpg in the Files app or Windows File Explorer.
Better approach: Never just rename the extension; decode and re-encode the file in Photo & signature or Exact image compressor so the internal binary header becomes FF D8 FF.
What goes wrong: Taking a screenshot of your photo on your iPhone and renaming the .png screenshot to .jpg.
Better approach: iOS screenshots are PNG files (89 50 4E 47 header), which fail JPEG magic-byte checks just like HEIC files. Convert properly to baseline JPEG.
What goes wrong: Uploading private passport portraits, signatures, and marksheets to random cloud "HEIC to JPG" websites.
Better approach: Use local browser-based decoding so your biometric photos and identity documents never leave your device.
What goes wrong: Uploading a raw converted JPEG without baking EXIF orientation, causing the portrait to appear rotated 90° sideways on the admit card.
Better approach: Process the portrait through the Photo & Signature tool, which writes the pixel rows physically upright.
Frequently asked questions
Why does the exam portal still say "Invalid File Format" after I renamed my iPhone file from `.heic` to `.jpg`?
Renaming a file only changes its text label; it does not convert the image data inside. Portal servers read the first few binary bytes of the file (magic bytes). A real JPEG starts with FF D8 FF, whereas a renamed iPhone file still starts with the HEIC container header (ftypheic). Load the file into Photo & signature to re-encode it into a genuine JPEG.
Why does my iPhone photo turn 90 degrees sideways after I upload it to a government portal?
iPhones often record portrait photos sideways on the sensor and add an EXIF metadata tag telling modern apps to rotate it 90° on screen. Many government portal scripts ignore or strip that tag, displaying the raw sideways pixels. Cropping and exporting in the Photo & Signature tool (Photo & signature) permanently rotates the pixel grid upright.
Can I convert `.heic` to `.jpg` and compress it under 50 KB right on my iPhone in Safari?
Yes. Open Photo & signature or 50 KB image compressor in Safari on your iPhone, pick the photo from your library or Files app, and tap Download to save the finished 20–50 KB .jpg directly to your iPhone.
How do I stop my iPhone from taking `.heic` photos in the future?
On your iPhone, go to Settings → Camera → Formats and select Most Compatible. Your camera will save new photos as standard .jpg files. You will still use the Photo & Signature tool to crop to portal dimensions and compress the 3 MB camera JPEG down to 20–50 KB.
How can I check if a `.jpg` file on my phone or laptop is a real JPEG or a renamed HEIC/PNG?
Drop the file into the Application file checker. It reads the internal binary magic bytes locally and tells you immediately whether the true format is JPEG, HEIC, PNG, or WebP.
Summary
An iPhone .heic photo only causes upload errors when you try to bypass conversion by renaming the extension or rely on tools that leave EXIF rotation tags unbaked. Load your .heic portrait or signature directly into the local Photo & Signature tool or Exact Image Compressor to decode it in browser memory, lock your portal’s pixel dimensions, bake upright orientation, and download a verified 20–50 KB baseline .jpg in seconds.