iLoveConverter
Categories 11 categories
WordPress Images

WordPress Image Formats: What You Can Upload and What to Convert First

iLoveConverter Team 7 min read

On this page

WordPress is not picky about images — until it suddenly is. The Media Library accepts a short list of formats without complaint, quietly turns every upload into half a dozen resized copies, and then rejects the next file with a security warning you never saw coming. Nearly all of those surprises trace back to the same few facts: which formats WordPress accepts by default, what it does with files that are too large, and what happens to photos that arrive in the iPhone’s HEIC format. Here is the practical map — what to upload, what to convert first, and why WebP is worth the extra step.

What WordPress accepts by default

FormatAcceptedBest forNotes
JPG / JPEGYesPhotographsThe universal default; no transparency
PNGYesScreenshots, logos, anything with transparencyLossless; heavy for photos
GIFYesShort animations256-color palette
WebPYes (WordPress 5.8+)All of the above, smallerNative since 2021; supports transparency and animation
AVIFRecent releases (6.5+)Same, smaller stillVerify support on your version and plugins
HEICNo—Convert to JPG before uploading
SVGNo (by default)—Blocked for security reasons; plugins can enable it

Plugins and themes can extend or restrict this list, so treat the table as the baseline and check the official documentation for your version. One practical consequence stands out: HEIC photos — the default on iPhones since iOS 11 — are not on the list. Upload one and you get the same laconic rejection every unsupported type receives. The fix never changes: convert to JPG first.

What happens after upload: the automatic size ladder

WordPress does not store just your file. For every image it generates a set of resized copies that themes and posts can pick from: a square-cropped thumbnail (150×150 by default), Medium (longest side capped at 300 px), Medium Large (768 px), Large (1024 px), and the full-size original. Since WordPress 5.3, uploads whose longest side exceeds roughly 2560 px also get a “scaled” copy with -scaled in the filename, and the original is kept alongside it. Exact defaults and thresholds have shifted slightly across releases — treat the numbers above as typical and check your version’s documentation.

The consequence is storage arithmetic: upload a 6000 px photograph and you may create six or seven files at once. Two rules follow. First, resize before you upload — bring photos down to roughly the largest size your theme actually displays, and let WordPress handle the rest. Second, mind the upload ceiling — the maximum upload size is not a WordPress constant but a hosting setting (upload_max_filesize in PHP), and it ranges from a few megabytes to 128 MB depending on the host. Whatever number you see, treat it as an example and check your host’s current documentation rather than assuming.

Which format for which image

  • Photographs → JPG or WebP. WebP encodes the same photo at equal visual quality for roughly 25–34% less weight than JPEG. We compare the modern formats in detail in PNG vs WebP vs AVIF; the short version is that WebP is the safe default for photos on any WordPress site.
  • Screenshots and interface graphics → PNG. Flat colors and text compress beautifully losslessly, and no edge blurs.
  • Logos and icons with transparency → PNG or WebP. Both carry an alpha channel; JPG does not, and converting a transparent PNG to JPG fills the background in.
  • Animation → GIF. WordPress accepts it and serves it exactly as uploaded.
  • Anything straight from an iPhone camera roll → convert first. See the workflow below.

What WebP actually buys you

The 25–34% saving is not an abstract number; it lands in three places. Users feel it: a hero image that shrinks from 800 KB to 500 KB paints earlier, and since images are usually the Largest Contentful Paint element, page-speed metrics move with them. Search engines see it: Core Web Vitals participate in how search evaluates a page, so lighter images are SEO work as much as engineering work. Your hosting bill sees it: a site serving ten thousand image loads a day cuts raw bandwidth by roughly a quarter when photos move to WebP — no code changes, same URLs. None of this requires WordPress to do anything special; WebP has been a first-class citizen there since 5.8. The only work is producing the files, which is exactly what the converters below automate.

A conversion workflow that runs in your browser

None of these conversions require sending your images to a server. The converters below run entirely in your browser via WebAssembly — the file is decoded and re-encoded on your own device, which you can verify by keeping the network tab open while converting.

  1. Convert iPhone photos to JPG. Open HEIC to JPG, drop your .heic files, and download the results. Expected result: a .jpg copy for each photo, with the originals untouched on your device.
  2. Convert web-bound photos to WebP. Open JPG to WebP and batch-convert your JPGs. Expected result: files roughly a quarter smaller at the default quality, with no visible difference at normal viewing sizes.
  3. Convert heavy screenshots in lossless mode. Open PNG to WebP, pick lossless, and convert. Expected result: text still pixel-crisp, file typically 20–30% lighter than the source PNG.
  4. Upload to the Media Library (Media → Add New, or drag the file into the post editor). Expected result: the attachment details list every generated size — thumbnail, medium, large, full — confirming WordPress processed the upload normally.

Pitfalls

  • “Sorry, this file type is not permitted for security reasons.” This is the standard rejection for HEIC (and for SVG without a plugin). Convert the file first; don’t fight the whitelist.
  • Uploading camera originals. A 12-megapixel photo at 4000+ px produces a scaled copy plus every thumbnail — doubled storage for pixels nobody displays. Resize first.
  • Photos saved as PNG. A photograph stored as PNG is often 5–10× larger than a well-made WebP at identical quality. PNG is for graphics, not for cameras.
  • Transparency destroyed by JPG. Converting a transparent PNG to JPG bakes in a background color. Keep transparency in PNG or WebP.
  • Assuming one universal upload limit. The ceiling comes from hosting, not WordPress. What uploads fine on one site may bounce on another.
  • WebP outside the browser. Every modern browser renders it; a few older desktop tools and pipelines still grumble. Keep your originals so you can re-export anything, anywhere.

FAQ

Does WordPress support WebP natively?

Yes — since WordPress 5.8, WebP uploads work exactly like JPG and PNG: resized copies are generated and the format is selectable anywhere an image is. AVIF support arrived later, in WordPress 6.5; confirm it for your own version before committing a site to it.

Why won’t my iPhone photos upload?

They are HEIC, and WordPress does not decode HEIC by default. Convert to JPG first — an in-browser converter does it in seconds without sending the photos anywhere, which matters for personal pictures.

Does WordPress compress my images automatically?

It resizes, but it does not really compress. The generated sizes are smaller because their dimensions are smaller, and very large uploads get an extra scaled copy while the original stays untouched. Real quality/size optimization is your job before upload (or a plugin’s job after). That is exactly why converting photos to WebP before uploading pays off.

Should I upload PNG or JPG for photographs?

JPG — or better, WebP. PNG’s lossless compression is designed for sharp-edged graphics; applied to the noisy pixels of a photograph it produces files several times larger with no visible benefit. Keep PNG for screenshots, logos and anything with transparency.

Do WordPress plugins that “enable HEIC upload” solve this?

Some exist and some work, but they make your upload pipeline depend on a third party’s decoder, and the file you store is still HEIC — every visitor’s browser then has to render it, and non-Apple devices pay a compatibility tax. Converting once, before upload, keeps the whole chain simple: JPG or WebP everywhere.

What is the maximum image size I can upload?

Whatever your host allows. The ceiling is the PHP upload_max_filesize setting, commonly between 8 and 128 MB, and it can usually be raised in the hosting panel or php.ini. Because it is hosting configuration, treat any specific number — including the ones here — as an example and check your host’s current documentation.

Try it yourself — free, right in your browser

Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.

Format deep-dives: JPG (.jpg.jpeg.jpe) , PNG (.png) , WebP (.webp) , HEIC (.heic.heif)