{"id":268453,"date":"2026-03-23T11:43:59","date_gmt":"2026-03-23T11:43:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/henkan-webp-avif-converter\/"},"modified":"2026-05-20T09:19:17","modified_gmt":"2026-05-20T09:19:17","slug":"henkan-webp-avif-converter","status":"publish","type":"plugin","link":"https:\/\/vi.wordpress.org\/plugins\/henkan-webp-avif-converter\/","author":20048453,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.2.0","stable_tag":"2.2.0","tested":"7.0","requires":"6.0","requires_php":"8.3","requires_plugins":null,"header_name":"Henkan - WebP & AVIF Converter","header_author":"Saguya","header_description":"Professional Image Optimization: Smart-Scan, WP-CLI, Lazy-Loading and Cache Clearing.","assets_banners_color":"c0c4c6","last_updated":"2026-05-20 09:19:17","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":297,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.3":{"tag":"2.0.3","author":"saguya","date":"2026-03-23 11:59:23"},"2.0.4":{"tag":"2.0.4","author":"saguya","date":"2026-03-23 13:04:06"},"2.1.0":{"tag":"2.1.0","author":"saguya","date":"2026-03-23 20:38:39"},"2.1.1":{"tag":"2.1.1","author":"saguya","date":"2026-03-23 21:09:11"},"2.2.0":{"tag":"2.2.0","author":"saguya","date":"2026-05-20 09:19:17"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3488923,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3488923,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.3","2.0.4","2.1.0","2.1.1","2.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3489409,"resolution":"1","location":"assets","locale":"","width":1143,"height":692},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3489409,"resolution":"2","location":"assets","locale":"","width":735,"height":463},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3489409,"resolution":"3","location":"assets","locale":"","width":736,"height":389},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3489409,"resolution":"4","location":"assets","locale":"","width":735,"height":495},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3489409,"resolution":"5","location":"assets","locale":"","width":727,"height":545},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3489409,"resolution":"6","location":"assets","locale":"","width":718,"height":321}},"screenshots":{"1":"The beautiful, modern Henkan Dashboard showing your optimization stats.","2":"Bulk conversion in progress with a sleek progress circle.","3":"Seamless integration into the WordPress Media Library."}},"plugin_section":[262246],"plugin_tags":[194661,5520,29161,1513,15376],"plugin_category":[54,59],"plugin_contributors":[258470],"plugin_business_model":[],"class_list":["post-268453","plugin","type-plugin","status-publish","hentry","plugin_section-dashboard-widgets","plugin_tags-avif","plugin_tags-converter","plugin_tags-image-optimization","plugin_tags-pagespeed","plugin_tags-webp","plugin_category-security-and-spam-protection","plugin_category-utilities-and-tools","plugin_contributors-saguya","plugin_committers-saguya"],"banners":{"banner":"https:\/\/ps.w.org\/henkan-webp-avif-converter\/assets\/banner-772x250.png?rev=3488923","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/henkan-webp-avif-converter\/assets\/icon-256x256.png?rev=3488923","icon_2x":"https:\/\/ps.w.org\/henkan-webp-avif-converter\/assets\/icon-256x256.png?rev=3488923","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/henkan-webp-avif-converter\/assets\/screenshot-1.png?rev=3489409","caption":"The beautiful, modern Henkan Dashboard showing your optimization stats."},{"src":"https:\/\/ps.w.org\/henkan-webp-avif-converter\/assets\/screenshot-2.png?rev=3489409","caption":"Bulk conversion in progress with a sleek progress circle."},{"src":"https:\/\/ps.w.org\/henkan-webp-avif-converter\/assets\/screenshot-3.png?rev=3489409","caption":"Seamless integration into the WordPress Media Library."},{"src":"https:\/\/ps.w.org\/henkan-webp-avif-converter\/assets\/screenshot-4.png?rev=3489409","caption":""},{"src":"https:\/\/ps.w.org\/henkan-webp-avif-converter\/assets\/screenshot-5.png?rev=3489409","caption":""},{"src":"https:\/\/ps.w.org\/henkan-webp-avif-converter\/assets\/screenshot-6.png?rev=3489409","caption":""}],"raw_content":"<!--section=description-->\n<p>Welcome to <strong>Henkan<\/strong> (Japanese for \"conversion\") \u2014 your lightweight, high-performance solution for next-generation image optimization in WordPress!<\/p>\n\n<p>Slow loading times and heavy images are a thing of the past. Henkan seamlessly integrates into your WordPress dashboard, silently converting your standard JPEGs and PNGs into highly optimized <strong>WebP<\/strong> or <strong>AVIF<\/strong> files. Boost your Core Web Vitals, improve your SEO rankings, and save massive amounts of server bandwidth without sacrificing an ounce of image quality.<\/p>\n\n<h3>\u2728 Why choose Henkan?<\/h3>\n\n<p>Most image optimizers rely on slow PHP processing or expensive cloud APIs with monthly limits. Henkan is built differently: It prioritizes <strong>native OS binaries<\/strong> (<code>cwebp<\/code>, <code>avifenc<\/code>) to process images blazingly fast directly on your own server, completely free and without any restrictions.<\/p>\n\n<h3>\ud83d\ude80 Powerful Features<\/h3>\n\n<ul>\n<li><strong>Next-Gen Formats:<\/strong> Instantly convert images to WebP and AVIF formats.<\/li>\n<li><strong>Zero-Config Auto-Conversion:<\/strong> New images are optimized silently in the background the moment you upload them.<\/li>\n<li><strong>1-Click Bulk Optimization:<\/strong> Got a massive existing media library? Process thousands of images with a single click in our beautiful, modern dashboard.<\/li>\n<li><strong>Smart Fallbacks:<\/strong> Uses ultra-fast <code>exec()<\/code> binaries when available, falling back to GD or ImageMagick seamlessly if needed.<\/li>\n<li><strong>Cache Auto-Clear:<\/strong> Fully compatible with WP Rocket, W3 Total Cache, Autoptimize, and LiteSpeed Cache. Conversions automatically trigger a cache purge.<\/li>\n<li><strong>Frontend Delivery:<\/strong> Automatically serves the optimized images to compatible browsers using modern HTML <code>&lt;picture&gt;<\/code> tags or Nginx\/Apache rewrites.<\/li>\n<li><strong>WP-CLI Power:<\/strong> Built-in commands (<code>wp henkan convert<\/code>) for sysadmins to process massive libraries directly from the terminal without PHP timeouts.<\/li>\n<li><strong>Global Ready:<\/strong> 100% translation-ready. Shipped with English, German (<code>de_DE<\/code>), and Japanese (<code>ja<\/code>) out of the box.<\/li>\n<\/ul>\n\n<h3>\ud83d\udee0\ufe0f System Requirements<\/h3>\n\n<p>To unleash the full speed of Henkan, we recommend:\n* <strong>WordPress:<\/strong> 6.0 or higher\n* <strong>PHP:<\/strong> 7.4 or higher\n* <strong>For WebP:<\/strong> <code>cwebp<\/code> installed on the server (recommended) OR PHP <code>GD<\/code> extension with WebP support.\n* <strong>For AVIF:<\/strong> <code>avifenc<\/code> or <code>ImageMagick<\/code> (magick\/convert) installed OR PHP <code>GD<\/code> extension with AVIF support.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the latest plugin zip from the repository.<\/li>\n<li>Go to your WordPress Dashboard: <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>.<\/li>\n<li>Upload the zip file and click <strong>Install Now<\/strong>.<\/li>\n<li>Click <strong>Activate Plugin<\/strong>.<\/li>\n<li>Navigate to <strong>Settings &gt; Henkan<\/strong> in your dashboard.<\/li>\n<li>Choose your preferred format (WebP or AVIF), set the quality (we recommend 82), and click <strong>Start Scan<\/strong> to optimize your existing library!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20delete%20my%20original%20images%3F\"><h3>Does it delete my original images?<\/h3><\/dt>\n<dd><p>By default, no! Henkan keeps your original JPEGs and PNGs safely stored. You can easily toggle this behavior in the settings if you want to aggressively save disk space. \n<strong>Note: If you choose to delete the originals, the newly generated optimized file (e.g., WebP or AVIF) will officially replace the old JPEG\/PNG as the primary attachment in your WordPress database.<\/strong><\/p><\/dd>\n<dt id=\"do%20i%20need%20to%20pay%20for%20an%20api%20or%20subscription%3F\"><h3>Do I need to pay for an API or subscription?<\/h3><\/dt>\n<dd><p>Absolutely not. Henkan processes everything locally on your own server. No cloud limits, no monthly fees, completely free and open-source.<\/p><\/dd>\n<dt id=\"how%20do%20i%20use%20the%20wp-cli%20commands%3F\"><h3>How do I use the WP-CLI commands?<\/h3><\/dt>\n<dd><p>For large media libraries, using the terminal is highly recommended. \n* Scan and convert all missing images: <code>wp henkan convert<\/code>\n* Force convert everything: <code>wp henkan convert --force<\/code><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.2.0<\/h4>\n\n<ul>\n<li><strong>Tested up to:<\/strong> WordPress 7.0<\/li>\n<li><strong>New:<\/strong> Full compatibility with WordPress 7.0 architectural changes.<\/li>\n<li><strong>New:<\/strong> High-performance database architecture. Migrated conversion data from <code>wp_postmeta<\/code> to a dedicated custom table (<code>wp_henkan_data<\/code>). This significantly speeds up backend load times and reduces database queries for large media libraries. The migration runs seamlessly and automatically in the background.<\/li>\n<li><strong>New:<\/strong> Asynchronous Background Queue for Bulk Optimization. You can now run massive conversion tasks safely in the background via WP-Cron without keeping the browser tab open. This feature can be toggled in the Advanced Settings.<\/li>\n<li><strong>New:<\/strong> Granular Exclusion Rules. You can now exclude specific files, paths, or naming patterns (e.g., logos, specific folders) from conversion using simple string matching or Regex.<\/li>\n<li><strong>Tweak:<\/strong> Improved resource management and cleanup routines. The plugin now automatically purges the associated database rows in the custom table when an attachment is permanently deleted.<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li><strong>Fix:<\/strong> Added native WordPress Media Library support for AVIF and JXL formats.<\/li>\n<li><strong>Fix:<\/strong> Added an admin grid fallback to display WebP\/JPEG thumbnails if the browser does not support JXL natively.<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li><strong>Feature:<\/strong> Multi-Format Engine! You can now generate WebP, AVIF, and JXL simultaneously for every uploaded image.<\/li>\n<li><strong>Feature:<\/strong> Added experimental support for JPEG XL (.jxl) via <code>cjxl<\/code> and ImageMagick.<\/li>\n<li><strong>UI\/UX:<\/strong> Completely redesigned the Admin Dashboard. All settings, Server Rewrites, and WP-CLI commands are now unified into a clean, single-card tabbed interface.<\/li>\n<li><strong>Engine:<\/strong> Introduced an intelligent Auto-Fallback system. If native OS binaries (<code>avifenc<\/code>, <code>cwebp<\/code>) fail or are blocked by your host, Henkan automatically falls back to PHP GD or ImageMagick.<\/li>\n<li><strong>Engine:<\/strong> Strict format priority (WebP &gt; AVIF &gt; JXL) ensures maximum browser compatibility for the main WordPress media library files.<\/li>\n<li><strong>Core:<\/strong> Added detailed, transparent error logging directly in the bulk optimization UI to help identify missing server binaries.<\/li>\n<li><strong>Compliance:<\/strong> Achieved 100% strict compliance with WordPress Coding Standards (WPCS) and security escaping rules.<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Bumped minimum requirements to PHP 7.4 and WordPress 6.0 for better security and native binary performance.<\/li>\n<li>Improved Readme layout and added FAQ section.<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Initial release on the official WordPress.org Plugin Directory.<\/li>\n<li>Full i18n Overhaul &amp; WP.org Compliance.<\/li>\n<li>Strict settings sanitization and security patches applied.<\/li>\n<\/ul>","raw_excerpt":"Henkan is a high-performance plugin that automatically converts your media library images to next-generation formats like WebP and AVIF.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/268453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=268453"}],"author":[{"embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/saguya"}],"wp:attachment":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=268453"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=268453"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=268453"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=268453"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=268453"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=268453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}