NEF to AVIF Converter

Turn your Nikon RAW captures into the most efficient modern image format, with HDR and ultra-small file sizes

No software installation • Fast conversion • Private and secure

Step 1

Drag files or click to select

Convert files online

Step 1

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

1

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.

2

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.

3

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.

4

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.

Frequently Asked Questions

How does AVIF differ from WebP?
AVIF uses the newer AV1 codec (2019) compared to WebP's VP8 (2010). At equivalent visual quality, AVIF averages 15-30% smaller than WebP and 40-50% smaller than JPG. AVIF also supports HDR with 10 and 12-bit depth, while WebP is limited to 8 bits. Browser support is currently broader for WebP (96% vs 92-94% for AVIF), but the gap is closing quickly.
Do browsers support AVIF?
Yes, AVIF is supported by all major modern browsers: 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 coverage is around 92-94% of global users and growing quickly. For maximum compatibility, use a fallback to WebP or JPG.
Does AVIF support HDR and extended bit depth?
Yes, AVIF supports 8, 10 and 12 bits per channel, allowing HDR images with extended dynamic range. AVIF is compatible with HDR10 and Dolby Vision metadata. This makes the format especially valuable for landscape and architectural photography from a Nikon Z9 or Z8, where preserving full tonal grading from deep shadows to bright highlights matters significantly.
Are EXIF and GPS metadata preserved when converting NEF to AVIF?
Yes, AVIF supports EXIF. Standard fields - Nikon body, lens, shutter speed, aperture, ISO, focal length, capture date and time, GPS coordinates - transfer to the AVIF file. This matters for photo organizers and image SEO. Proprietary Nikon MakerNotes (Picture Control, Active D-Lighting and similar) are typically lost.
How large will the AVIF file be after converting NEF?
It depends on the source camera and encoding quality. A 24 MP Nikon Z6 II frame at quality 80 is 1.5-3 MB; at quality 92, 3-5 MB. A 45 MP Z7 II or D850 frame at quality 80 is 2-4 MB; at quality 92, 4-7 MB. This is 10-20 times smaller than the source NEF and 40-50% smaller than the equivalent JPG at the same visual quality.
Does AVIF support transparency for photographs?
Yes, AVIF supports an alpha channel at 8, 10 or 12-bit depth. This enables transparent backgrounds (products, logos, icons) with very smooth transparency transitions and far smaller files than equivalent PNGs. A transparent AVIF is typically 5-8 times smaller than the equivalent PNG at similar visual quality.
Can I recover the original NEF from an AVIF file?
No. NEF holds raw 14-bit sensor data with the Bayer filter and proprietary MakerNotes. AVIF stores an already processed RGB image, possibly with lossy compression (in lossy mode). After demosaicing, white balance baking and AV1 encoding, the original information is permanently discarded. Original NEFs must be kept separately.
Can I convert multiple NEF files to AVIF at once?
Yes, batch processing is supported. Upload multiple NEF files together and they will be converted to AVIF using uniform quality settings. This is convenient for preparing a batch of product images for a modern online store, illustrations for an image-rich blog, or a series of portraits for a portfolio website.