Drag files or click to select
Convert files online
Drag files or click to select
Convert files online
What AVIF is and why convert Nikon RAW into it
NEF (Nikon Electronic Format) is the proprietary RAW container in which Nikon cameras record raw sensor signal. With 12 or 14 bits per channel and no lossy compression, NEF is an ideal source for post-processing, but a single file weighs 30-90 MB and no browser displays it without specialist plugins. To publish photographs in a modern web project, you need a compact, efficiently compressed format that can also carry extended color characteristics.
AVIF (AV1 Image File Format) is exactly that. It is a newer open standard based on the AV1 video codec developed by the Alliance for Open Media (a consortium including Google, Mozilla, Cisco, Microsoft, Intel, Netflix and Apple), published in 2018-2019. AVIF combines state-of-the-art compression, an open royalty-free standard and support for extended bit depth. In terms of file size, AVIF averages 40-50% smaller than JPG at equivalent visual quality, and 15-30% smaller than WebP.
Converting NEF to AVIF is especially worthwhile for modern web projects: photography galleries, portfolios, content blogs, image-rich media libraries. AVIF lets you preserve the fine tonal grading of a Nikon source (including HDR-extended range) in a minimal file size.
Technical characteristics of AVIF
AVIF inherits the advanced intra-frame compression of AV1: variable block sizes (from 4x4 to 128x128), directional intra-prediction (ten directions), palette coding for limited-color regions, and improved arithmetic coding. These techniques were originally engineered for 4K/8K video compression, and applying them to still images produces striking results.
| Characteristic | NEF (Nikon RAW) | AVIF |
|---|---|---|
| Year of creation | 1999 (NEF), evolving | 2019 (based on AV1) |
| Type | Proprietary RAW | Open, royalty-free |
| Color depth | 12 or 14 bits per channel | 8, 10 or 12 bits per channel |
| Compression | Lossless | Lossy (AV1) or lossless |
| Typical size (45 MP) | 50-90 MB | 1-3 MB (q=80), 3-6 MB (q=92) |
| HDR support | Metadata only | Full (HDR10, Dolby Vision compatible) |
| Chroma subsampling | Not applicable | 4:2:0 / 4:2:2 / 4:4:4 |
| Browser support | None | Chrome 85+, Firefox 93+, Safari 16.4+ |
| Alpha channel | Not supported | Supported (8/10/12 bits) |
| EXIF metadata | Full plus Nikon MakerNotes | Supported |
| Animation | Not supported | Supported |
| Color space | Linear sensor RGB | sRGB, Rec.2020, Display P3 |
Compared to a JPG of equivalent visual quality, AVIF delivers dramatic savings: a typical landscape from a Nikon Z7 II at AVIF q=80 weighs 1.5-2.5 MB, while the same scene as a JPG q=90 weighs 8-12 MB. That five-fold difference is especially noticeable when loading portfolios on mobile connections.
When NEF to AVIF makes sense
High-traffic modern websites
If your site contains many photographs and is visited by tens of thousands of users daily, the 40-50% bandwidth saving relative to JPG translates into significantly reduced CDN costs and faster page loads. This is particularly important for online stores, wedding photographer portfolios and travel agency websites featuring extensive location galleries.
Photographs with extended dynamic range (HDR)
Modern Nikon cameras like the Z9, Z8 and Z7 II can capture scenes with very wide brightness ranges. AVIF supports HDR (10 and 12 bits per channel), preserving subtle highlight and shadow transitions that are unreachable in 8-bit formats. On HDR-capable displays (which are increasingly common) such AVIF images look noticeably more impressive than their 8-bit equivalents.
Progressive photographer portfolios
If your portfolio targets users with modern devices and up-to-date browsers, AVIF signals a professional, forward-looking web presence. The site loads quickly, images look impressive, and Core Web Vitals scores remain high.
Architecture and interior photography
Architectural interiors typically feature a large dynamic range: bright windows next to shadowed corners. NEFs from a Nikon D850 encoded as AVIF at 10-bit depth render such scenes without shadow banding and without highlight clipping - critical for architectural publications and design studio websites.
Mobile apps and PWAs
Progressive web apps and native mobile applications increasingly use AVIF for built-in graphics and cached images, reducing app size and accelerating loading on slow connections.
Steps inside the NEF to AVIF conversion
The process combines RAW decoding (optionally preserving extended bit depth) with final AV1 encoding.
Bayer demosaicing
First, the converter extracts the raw value of each photosite from the NEF file. The demosaicing algorithm reconstructs full RGB values for every pixel by analyzing neighbors in the Bayer filter array. The quality of this stage determines sharpness and color fidelity in fine detail.
White balance and color matrix
The white balance recorded by the camera is applied to the data, and linear sensor values are transformed into a standard color space. AVIF offers a wider choice than JPG: you can store data in sRGB, Display P3 or Rec.2020 - the latter two being relevant for HDR-capable modern displays.
Tonal curve and gamma correction
A base Nikon tonal curve is applied to the linear data, followed by gamma correction (a power of approximately 2.2 for sRGB, or PQ/HLG transfer functions for HDR color spaces). This shapes the final contrast of the image.
Preserving bit depth
Unlike JPG (limited to 8 bits), AVIF supports 8, 10 and 12 bits per channel. When stored as 10-bit AVIF, the file retains a significant portion of the 14-bit NEF's tonal latitude, producing smooth gradients without banding.
AV1 encoding
The final step compresses the image with the AV1 codec. The image is divided into variable-sized blocks, directional prediction is applied to each block, and the residual is quantized and arithmetically coded. The AV1 algorithm is significantly more complex than JPEG and VP8 but delivers better quality at the same file size.
Embedding metadata
EXIF data (Nikon body, lens, shutter speed, ISO, capture date, GPS), an optional ICC color profile and color space information (including HDR metadata when relevant) are embedded into the final AVIF file.
NEF photographs that benefit most from AVIF
Landscapes with smooth tonal transitions
Photographs of skies, seas, sunrises and sunsets contain large regions of smooth tonal transitions. AVIF at 10-bit depth preserves such gradients without banding, unlike 8-bit JPG and WebP where skies often show visible "bands" in bright or dark areas.
Studio photography with controlled lighting
Portrait and product photography in a studio with a Nikon Z6 II or D850 produces clean, noise-free images with subtle tonal gradation. AVIF preserves this cleanliness in a very compact file suitable for web publication - for example, in a premium cosmetics or jewelry catalog.
Architecture and interiors
Scenes with high dynamic range (windows, reflections, light sources near shadowed areas) are an ideal use case for AVIF. The 10-bit or 12-bit depth and efficient AV1 compression render such scenes without harsh transitions or clipped highlights.
Modern e-commerce
Clothing, footwear and furniture stores that use Nikon cameras for catalog photography are moving to AVIF for loading speed. Shoppers see products faster, pages rank better in search, and mobile bandwidth costs drop.
Strengths of AVIF over JPG and WebP
Better compression at comparable quality
AVIF is 40-50% smaller than JPG at equivalent visual quality, and 15-30% smaller than WebP. This is the most significant size reduction among modern raster formats.
HDR and extended bit depth
AVIF supports 8, 10 and 12 bits per channel, allowing HDR images and smooth gradients without banding. JPG, by contrast, is limited to 8 bits and is not suitable for HDR viewing.
Efficient transparency
Like WebP, AVIF supports an alpha channel, but with optional 10 and 12-bit depth. This produces even smoother transparency transitions than WebP.
Open standard, royalty-free
AVIF was developed by the Alliance for Open Media and is free of patent royalty payments. This makes it attractive to large technology companies and web services that have been actively adopting it.
Animation support
AVIF can store animated images as a modern alternative to GIF and animated WebP. This is rarely used when converting from RAW, but it adds flexibility for other tasks.
Limitations of AVIF
Slightly narrower browser support than WebP
AVIF is supported by Chrome (since version 85, August 2020), Firefox (since version 93, October 2021), Safari (since version 16.4, March 2023), Microsoft Edge (since version 121, January 2024), Opera and Samsung Internet. Combined global coverage is around 92-94%, slightly below WebP (96%+). Older Safari versions (pre-16.4) and Internet Explorer do not support AVIF.
Heavier encoding
AVIF compression is significantly more resource-intensive than JPEG and WebP. This may not matter for occasional use, but in large automated pipelines (for example, processing a million images per day) the server requires substantially more compute.
Print and printer compatibility
Printers, photo labs, print houses and most office applications do not support AVIF. For printing photo books, posters and gift items, use JPG or TIFF.
Basic RAW decoding limitations
This service performs basic NEF decoding with default processing parameters: white balance is taken from the camera metadata as recorded at capture time, standard sRGB gamma correction is applied, and demosaicing runs automatically. White balance adjustment, exposure compensation, highlight and shadow recovery, tone curves and noise reduction are not available. For full RAW processing with control over all parameters, use specialized software: Adobe Lightroom, Capture One, RawTherapee, Nikon NX Studio. This service is suitable for quick conversion of NEF into a modern web format such as AVIF.
Always preserve original NEF files
Lossy AVIF is irreversible. The 14-bit Nikon sensor data, Bayer pattern, proprietary MakerNotes and most of the tonal latitude are discarded. Always preserve original NEF files on a separate medium for possible future reprocessing.
When another format would be better
If your site is accessed by users of outdated devices (Windows 7 with Internet Explorer, old Android), WebP with a JPG fallback is safer. If absolute compatibility matters (print, email distribution, archival client delivery), choose JPG. For lossless archival storage and Photoshop work, use TIFF.
Many modern sites adopt a hybrid approach with the picture element and multiple source declarations: AVIF for the most modern browsers, WebP as an intermediate option, JPG as a universal fallback. This delivers the optimal format to each visitor according to their browser's capabilities.
What is NEF to AVIF conversion used for
High-traffic modern websites
Web projects with many photographs (portfolio aggregators, media libraries, news portals) visited by tens of thousands of users daily are moving to AVIF for bandwidth savings. A 40-50% reduction in file size relative to JPG produces measurable CDN cost reductions and noticeable improvements in user experience.
Premium wedding photographer portfolios
Wedding photographers using Nikon with an advanced approach to their web presence publish their curated work as AVIF on their own websites. Images load instantly, look impressive, and Core Web Vitals scores remain high, positively influencing search ranking and visitor engagement signals.
Premium-segment online stores
Luxury brands of clothing, footwear, jewelry and watches that photograph their catalog with a Nikon Z6 II or D850 are moving to AVIF for product cards. Shoppers browse galleries faster, especially on mobile devices, directly improving conversion and reducing mobile bandwidth costs.
Architectural and interior photography
Real estate photographers, design studios and architectural agencies publish interiors and facades as 10-bit AVIF. This preserves smooth tonal transitions and the wide dynamic range from bright windows to shaded corners - without banding and without quality loss when viewed on HDR displays.
Editorial blogs and content projects
Travel magazines, corporate blogs and news sites with strong photographic content publish their images as AVIF. Smaller file sizes accelerate page loading on image-heavy articles, improving user experience and rankings for photography-related search queries.
Tips for converting NEF to AVIF
Choose quality 75-85 for web use
For websites, AVIF quality 75-85 is optimal: visual difference from the source NEF is virtually imperceptible while the file is substantially smaller than a comparable JPG. For premium portfolios and fine-art photography, you can push to quality 88-92 and still produce a smaller file than the equivalent JPG.
Use 10-bit depth for landscapes
For landscape photographs with large smooth regions (skies, sea surfaces, sunrises, sunsets), choose 10-bit AVIF. This preserves subtle tonal transitions without the banding that often appears in 8-bit JPGs. It is particularly important for Nikon Z9, Z8 and Z7 II shots with extended dynamic range.
Always preserve original NEF files
Lossy AVIF is irreversible. The 14-bit Nikon sensor data, MakerNotes and most of the tonal latitude are lost. Keep original NEFs on a separate medium so that you can reprocess the shot in the future - if a more efficient format emerges or different settings become necessary.
Use the picture element with fallbacks
When serving AVIF on a website, use the picture element with multiple source declarations: AVIF for modern browsers, WebP as an intermediate option, JPG as a universal fallback. This ensures every visitor sees the image in the optimal format for their browser, without empty placeholders on older devices.