<!DOCTYPE html>
<html lang="en">
<head>
<title>iformat.io</title>
<meta name="description"
content="iFormat.io - Your ultimate file converter and compressor. Convert JPG, PNG, HEIC, WEBP to JPG, PNG, and PDF formats. Fast and reliable file conversion made easy">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="/static/logo.png" type="image/png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://iformat.io/avif-to-png/"/>
<meta name="yandex-verification" content="b06651e96519752b" />
<input type="hidden" name="csrfmiddlewaretoken" value="FZrDrgu64OICw9jG9TJRQUSFQ25KOWkWveiyXxgm4KSGfLQokdzSykEBMXwytVPw">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K5PN90MCSZ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-K5PN90MCSZ');
</script>
<meta name="msvalidate.01" content="5CAE4943CEBF239CD78C1EE61E777102" />
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<link href="/static/styles/other_styles.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Inter:400,500,600,700&display=swap" rel="stylesheet">
<style>
.bg-random {
background-color: hsl(calc(360 * var(--random)), 70%, 80%);
}
</style>
</head>
<body class="antialiased text-gray-800 font-inter">
<header class="bg-white shadow sticky top-0 z-50">
<div class="container mx-auto px-6 py-4 flex items-center justify-between">
<!-- Logo -->
<div class="flex items-center">
<a href="/" class="flex items-center">
<img src="../static/logo.svg" alt="iformat.io Logo" class="h-8 w-auto mr-2">
<span class="text-3xl font-medium text-blue-600">iformat.io</span>
</a>
</div>
<!-- Mobile Menu Button -->
<button class="text-gray-800 md:hidden focus:outline-none" id="mobile-menu-button">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
<!-- Navigation for larger screens -->
<div class="hidden md:flex font-medium items-center space-x-6" id="navbar">
<div class="container mx-auto flex items-center space-x-6">
<!-- Converter Tools Dropdown -->
<div class="relative group">
<button class="flex items-center text-gray-800 hover:text-blue-600 font-medium focus:outline-none">
Converter Tools
<!-- Dropdown Icon -->
<svg class="ml-1 w-4 h-4" fill="currentColor" viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clip-rule="evenodd"></path>
</svg>
</button>
<!-- Dropdown Content for Converters -->
<div class="absolute right-0 mt-0 w-48 bg-white rounded-lg shadow-lg hidden group-hover:block transition-opacity duration-300 ease-in-out opacity-0 group-hover:opacity-100 z-10">
<div class="py-2">
<a href="/image-converter"
class="block px-4 py-2 text-gray-800 hover:bg-gray-100 hover:text-blue-600">Image
Converter</a>
<a href="/video-converter"
class="block px-4 py-2 text-gray-800 hover:bg-gray-100 hover:text-blue-600">Video
Converter</a>
<a href="/audio-converter"
class="block px-4 py-2 text-gray-800 hover:bg-gray-100 hover:text-blue-600">Audio
Converter</a>
<a href="/document-converter"
class="block px-4 py-2 text-gray-800 hover:bg-gray-100 hover:text-blue-600">Document
Converter</a>
</div>
</div>
</div>
<!-- Compressor Tools Dropdown -->
<div class="relative group">
<button class="flex items-center text-gray-800 hover:text-blue-600 font-medium focus:outline-none">
Compressor Tools
<!-- Dropdown Icon -->
<svg class="ml-1 w-4 h-4" fill="currentColor" viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clip-rule="evenodd"></path>
</svg>
</button>
<!-- Dropdown Content for Compressors -->
<div class="absolute right-0 mt-0 w-48 bg-white rounded-lg shadow-lg hidden group-hover:block transition-opacity duration-300 ease-in-out opacity-0 group-hover:opacity-100 z-10">
<div class="py-2">
<a href="/image-compressor"
class="block px-4 py-2 text-gray-800 hover:bg-gray-100 hover:text-blue-600">Image
Compressor</a>
<a href="/document-compressor"
class="block px-4 py-2 text-gray-800 hover:bg-gray-100 hover:text-blue-600">Document
Compressor</a>
</div>
</div>
</div>
<!-- Image Resizer Link with Icon -->
<a href="/image-resizer" class="flex items-center text-gray-800 hover:text-blue-600 font-medium">
Image Resizer
</a>
<a href="/time-converter" class="flex items-center text-gray-800 hover:text-blue-600 font-medium">
Time Converter
</a>
<a href="/blog" class="flex items-center text-gray-800 hover:text-blue-600 font-medium">
Blog
</a>
</div>
<!-- Search Box -->
<div class="relative hidden md:block">
<input id="search-bar" type="text" placeholder="Search tools..."
class="border border-gray-300 rounded-full px-4 py-1 pl-10 focus:outline-none focus:border-blue-500"
oninput="searchAppsSubGroups()">
<svg class="w-4 h-4 absolute left-3 top-2.5 text-gray-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd"
d="M12.9 14.32a8 8 0 111.414-1.414l5.387 5.387a1 1 0 01-1.414 1.414l-5.387-5.387zM8 14a6 6 0 100-12 6 6 0 000 12z"
clip-rule="evenodd"/>
</svg>
<!-- Search Results Container -->
<div id="search-results"
class="absolute left-0 mt-1 bg-white border border-gray-300 rounded-md w-full hidden z-20">
<!-- Search results will be populated here -->
</div>
</div>
<!-- Language Switcher -->
</div>
</div>
<!-- Mobile Navigation Menu -->
<div class="md:hidden hidden" id="mobile-menu">
<div class="flex flex-col px-6 pt-4 pb-6 space-y-4"> <!-- Applied flex-col for vertical alignment -->
<a href="/image-converter" class="text-gray-800 hover:text-blue-600">Image Converter</a>
<a href="/video-converter" class="text-gray-800 hover:text-blue-600">Video Converter</a>
<a href="/audio-converter" class="text-gray-800 hover:text-blue-600">Audio Converter</a>
<a href="/image-compressor" class="text-gray-800 hover:text-blue-600">Image Compressor</a>
<a href="/document-converter" class="text-gray-800 hover:text-blue-600">Document Converter</a>
<a href="/document-compressor" class="text-gray-800 hover:text-blue-600">Document Compressor</a>
<a href="/time-converter" class="text-gray-800 hover:text-blue-600">Time Converter</a>
<a href="/blog" class="text-gray-800 hover:text-blue-600">Blog</a>
</div>
</div>
</header>
<script>
function searchAppsSubGroups() {
const query = document.getElementById('search-bar').value.trim();
const resultsContainer = document.getElementById('search-results');
if (query.length > 1) {
fetch(`/search/?q=${encodeURIComponent(query)}`)
.then(response => {
if (!response.ok) {
throw new Error(`Error: ${response.status}`);
}
return response.json();
})
.then(data => {
const results = data.results || [];
resultsContainer.innerHTML = '';
if (results.length > 0) {
results.forEach(result => {
const item = document.createElement('a');
item.href = result.url || '#';
item.className = 'block px-4 py-2 text-gray-800 hover:bg-blue-100 hover:text-blue-700';
item.innerText = result.name || 'No name available';
resultsContainer.appendChild(item);
});
resultsContainer.classList.remove('hidden');
} else {
resultsContainer.innerHTML = '<p class="px-4 py-2 text-gray-800">No results found.</p>';
resultsContainer.classList.remove('hidden');
}
})
.catch(error => {
console.error('Error fetching search results:', error);
resultsContainer.innerHTML = '<p class="px-4 py-2 text-red-600">An error occurred. Please try again.</p>';
resultsContainer.classList.remove('hidden');
});
} else {
resultsContainer.classList.add('hidden');
}
}
document.addEventListener('click', function (event) {
const searchBar = document.getElementById('search-bar');
const searchResults = document.getElementById('search-results');
if (searchBar && searchResults && !searchBar.contains(event.target) && !searchResults.contains(event.target)) {
searchResults.classList.add('hidden');
}
});
// Toggle the mobile menu visibility
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenu = document.getElementById('mobile-menu');
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden'); // Show or hide the mobile menu
});
// Close the mobile menu when clicking outside
document.addEventListener('click', function (event) {
if (!mobileMenu.contains(event.target) && !mobileMenuButton.contains(event.target)) {
mobileMenu.classList.add('hidden');
}
});
/*
// Language Switcher functionality
const langButton = document.getElementById('lang-button');
const langMenu = document.getElementById('lang-menu');
langButton.addEventListener('click', (e) => {
e.stopPropagation();
langMenu.classList.toggle('hidden');
langButton.setAttribute('aria-expanded', !langMenu.classList.contains('hidden'));
});
// Close the language dropdown when clicking outside
window.addEventListener('click', () => {
langMenu.classList.add('hidden');
langButton.setAttribute('aria-expanded', 'false');
});
// Handle language selection
const langLinks = document.querySelectorAll('#lang-menu a');
langLinks.forEach(link => {
link.addEventListener('click', function (e) {
e.preventDefault();
const selectedLanguage = this.getAttribute('data-lang');
const currentPath = window.location.pathname;
let newUrl = `/${selectedLanguage}${currentPath}`;
// Remove leading language code if exists
const pathSegments = currentPath.split('/');
if (pathSegments[1] && pathSegments[1].length === 2) {
pathSegments.splice(1, 1);
newUrl = `/${selectedLanguage}/${pathSegments.slice(1).join('/')}`;
}
// Redirect to the new URL
window.location.href = newUrl;
});
}); */
</script>
<div class="container mx-auto py-20">
<div class="bg-white border border-gray-200 flex flex-col items-center justify-center px-4 md:px-8 lg:px-24 py-8 rounded-lg shadow-2xl">
<p class="text-6xl md:text-7xl lg:text-9xl font-bold tracking-wider text-blue-300">404</p>
<h2 class="text-3xl font-bold text-blue-500 mb-8">Oops, Page Not Found</h2>
<a href="/"
class="flex items-center space-x-2 bg-blue-500 hover:bg-blue-700 text-gray-100 px-4 py-2 mt-6 rounded transition duration-150"
title="Return Home">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd"
d="M9.707 14.707a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 1.414L7.414 9H15a1 1 0 110 2H7.414l2.293 2.293a1 1 0 010 1.414z"
clip-rule="evenodd"></path>
</svg>
<span>Return Home</span>
</a>
</div>
</div>
<!-- Footer -->
<footer class="bg-white border-t border-gray-200">
<div class="container mx-auto px-6 py-12">
<!-- Grid Layout -->
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
<!-- Brand and Tagline -->
<div class="col-span-1">
<h3 class="text-2xl font-bold text-gray-800">iformat.io</h3>
<p class="mt-4 text-gray-600 text-sm leading-relaxed">
Your ultimate solution for converting, compressing, and managing files—fast, secure, and reliable.
</p>
</div>
<!-- Quick Links -->
<div>
<h4 class="text-lg font-semibold text-gray-800">Quick Links</h4>
<ul class="mt-4 space-y-2">
<li><a href="/about-us" class="text-gray-600 hover:text-gray-900">About Us</a></li>
<li><a href="/all-tools" class="text-gray-600 hover:text-gray-900">All Tools</a></li>
<li><a href="/blog" class="text-gray-600 hover:text-gray-900">Blog</a></li>
</ul>
</div>
<!-- Support -->
<div>
<h4 class="text-lg font-semibold text-gray-800">Support</h4>
<ul class="mt-4 space-y-2">
<li><a href="/contact" class="text-gray-600 hover:text-gray-900">Contact Us</a></li>
<li><a href="/privacy-policy" class="text-gray-600 hover:text-gray-900">Privacy Policy</a></li>
<li><a href="/terms-and-conditions" class="text-gray-600 hover:text-gray-900">Terms of Service</a>
</li>
</ul>
</div>
<!-- Social Media -->
</div>
<!-- Divider and Footer Note -->
<div class="border-t border-gray-300 mt-8 pt-6 text-center">
<p class="text-sm text-gray-500">
© 2023 - 2024 iformat.io. All rights reserved.
</p>
</div>
</div>
</footer>
</body>
</html>