Opens in a new tab
Turquoise abstract wavy W logo on a black background
Turquoise abstract wavy W logo on a black background
White WP PowerSuite logo on a black background
White WP PowerSuite logo on a black background
[wpps_ai_summarize]
On This Page
Last updated: 03/09/2026

Enable AVIF Upload

Allow AVIF image uploads in the Media Library. Requires GD or Imagick with AVIF support on the server.

Overview

AVIF Upload lets WordPress users with normal media permissions upload native .avif image files through the Media Library, Block Editor, and supported REST media workflows when the server can handle AVIF.

Instead of converting JPEG or PNG files, this module focuses on accepting images that are already encoded as AVIF. It adds the required MIME handling, corrects WordPress filetype detection, validates the uploaded file header so a renamed non-AVIF file is rejected, and improves Media Library preview behavior without pretending the server can reliably generate AVIF thumbnails.

AVIF Upload is a Free module in WP PowerSuite.

Solid black square
Solid black square
Who is this for?
  • Sites receiving AVIF assets directly from designers, photographers, or image pipelines
  • Agencies that want native AVIF uploads without maintaining custom MIME snippets
  • Developers using WordPress REST media uploads with AVIF files
  • Performance-focused sites that prepare AVIF assets outside WordPress
  • Content teams working with modern image formats on compatible hosting

Features

Native AVIF Uploads
Allow eligible WordPress users to upload .avif files through supported media workflows.
Header Validation
Check the uploaded file for a real AVIF-compatible ISO-BMFF header instead of trusting only the filename extension.
Media Library Support
Correct filetype detection and provide a usable full-size preview entry for AVIF attachments.
REST Upload Support
Apply the same AVIF checks to WordPress REST media uploads.
Server Capability Detection
Enable AVIF upload handling only when GD or Imagick reports usable AVIF support.
No Unreliable Intermediate Thumbnails
Keep the original AVIF attachment while suppressing WordPress intermediate image generation for that file.
Zero Configuration
There are no quality, conversion, or delivery settings to manage. Enable the module on a compatible host and use normal WordPress uploads.

Upload AVIF Files Directly Into WordPress

Validate the File, Not Just the Extension

Respect What the Server Can Actually Handle

Keep Native AVIF Handling Separate From Conversion

If your normal workflow starts with JPEG or PNG and you want WordPress to create AVIF automatically, use AVIF Conversion instead. That module can generate AVIF sidecars for new uploads, create AVIF versions of generated image sizes, serve them through markup, or optionally replace the attachment itself.
Keeping the responsibilities separate makes each module easier to reason about. One module admits native AVIF files; the other produces and serves AVIF from conventional source images.

Why WordPress Thumbnail Generation Is Suppressed for Native AVIF

Use AVIF Upload in a Broader Media Workflow

AVIF Upload is most useful when modern images are prepared before they reach WordPress. A designer may export AVIF from an image tool, a build pipeline may optimize assets automatically, or a headless application may upload media through the REST API. In each case, WordPress needs to accept the already-finished file rather than perform another optimization pass.
If you also need to standardize filenames on new uploads, Auto Image Upload Rename handles supported raster-image naming before WordPress stores the file, while AVIF Upload remains focused on format acceptance and validation.
Because this module does not generate alternate formats or frontend markup, the theme or content workflow remains responsible for using the stored AVIF appropriately. This makes the module a clean building block rather than an opinionated image-delivery system.

Use Cases

  • Designer-Prepared Assets
    Upload AVIF images delivered directly by a designer or creative team without converting them to another format first.
  • Headless Media Uploads
    Accept validated AVIF files through supported WordPress REST media workflows.
  • Performance-Focused Publishing
    Store already-optimized AVIF assets in the normal WordPress Media Library on compatible hosting.
  • Agency Compatibility Layer
    Enable native AVIF support on client sites without maintaining a custom upload MIME snippet.
  • External Optimization Pipelines
    Use WordPress as the destination for AVIF files created by an external media or build process.

Frequently Asked Questions

Related Modules

Adds smaller AVIF copies for JPEG and PNG uploads so pages can load faster. Optional setting to show those images to modern...
Disabled
Prevents WordPress from automatically creating multiple image sizes when you upload images. Saves disk space and speeds up uploads. Existing images keep...
Disabled
Find media files not used anywhere on your site and delete them to reclaim storage space. Clean up orphaned images from deleted...
Disabled
Automatically convert uploaded JPEG and PNG images to WebP format for significantly smaller file sizes and faster page loads. Cannot be enabled...
Disabled
Automatically load more images in the media library when scrolling to the bottom. Loads 80 images at a time until all are...
Disabled
Allow SVG and SVGZ uploads in the Media Library. Restricted to administrators only.
Disabled
Blocks all video MIME types at upload time, displaying a friendly message directing users to embed videos instead. Apply to selected user...
Disabled
Caps how large an upload can be—helpful for shared hosting or editorial guidelines.
Disabled
Regenerate all image thumbnails in your media library. Fix missing or broken thumbnails, generate new custom sizes for existing images, and update...
Disabled
Replace any media file while keeping the same URL and attachment ID. Update product photos used across multiple pages without touching any...
Disabled