Title: Force WebP
Author: Qrzysio
Published: <strong>2025 年 7 月 20 日</strong>
Last modified: 2026 年 5 月 25 日

---

搜尋外掛

![](https://ps.w.org/force-webp/assets/icon-256x256.png?rev=3330911)

# Force WebP

 由 [Qrzysio](https://profiles.wordpress.org/qrzysio/) 開發

[下載](https://downloads.wordpress.org/plugin/force-webp.1.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/force-webp/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/force-webp/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/force-webp/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/force-webp/#developers)

 [技術支援](https://wordpress.org/support/plugin/force-webp/)

## 外掛說明

This plugin converts every uploaded JPG or PNG image into modern WebP format to 
improve performance and reduce file size.

Key features:
 – automatic conversion of JPG and PNG images to WebP on upload – 
correct generation of all WordPress image thumbnails – configurable WebP quality
level – optional maximum image width (original images are resized before thumbnails
are generated) – automatic removal of original JPG/PNG files to save disk space –
full compatibility with WordPress “big image scaling” – automatic alt text generation
based on the filename – filename sanitization and collision-safe renaming

All settings apply only to newly uploaded images. Existing media files are not modified.

### Configuration

You can configure the plugin in Tools  Force WebP.

Available options:
 – WebP quality (0–100): controls compression quality for newly
uploaded images – Max width (px, optional): limits the maximum width of original
images before WordPress generates thumbnails (0 = disabled)

All settings affect only images uploaded after saving the configuration.

## 安裝方式

Requirements:
 * Imagick with WebP support * PHP 7.4 or newer

How to install:
 1. Download the plugin or install it from the WordPress Plugin 
Directory. 2. Activate it via the Plugins menu in WordPress. 3. From now on, any
JPG or PNG file uploaded to the Media Library will: – be converted to WebP – have
the original file removed – receive an alt text based on the filename – be renamed
to avoid overwriting if duplicates exist

## 常見問題集

### Does the plugin modify existing media?

No. The plugin affects only newly uploaded images.

If “Remove original JPG/PNG” is enabled, original files are permanently deleted 
after successful WebP conversion.

### Does the plugin support GIFs?

No. Only JPG/JPEG and PNG are supported. Other formats remain unchanged.

### What happens if the server does not have Imagick with WebP support?

The plugin deactivates itself and displays an admin notice “Please enable Imagick
with WebP support on your server”.

### How can I change the compression quality?

The default is 95%. You can change it in Tools  Force WebP. The new quality will
be applied to all images uploaded after you update the setting.

### Does the plugin generate WordPress thumbnails correctly?

Yes. Images are converted to WebP only after WordPress finishes generating all intermediate
image sizes, so thumbnails work exactly as expected.

### What happens to very large images?

If a maximum width is configured, large images are automatically resized before 
thumbnails are generated. WordPress backup originals are removed to avoid duplicate
files.

## 使用者評論

![](https://secure.gravatar.com/avatar/70028ef7574c859f9e42dcff9f155a183b49b7999f2d9f57287a62893cd30685?
s=60&d=retro&r=g)

### 󠀁[A great plugin.](https://wordpress.org/support/topic/a-great-plugin-468/)󠁿

 [koultti](https://profiles.wordpress.org/koultti/) 2025 年 11 月 21 日 1 則留言

The plugin is great — the images are really converted to WebP and the original files
are deleted as expected. Congratulations to the developer. But I noticed two bugs:
it seems to interfere with the generation of the site’s thumbnails, so the entire
site ends up loading the full-size image only. Also, the quality level setting doesn’t
work. I tested it by setting it to 10 and then to 90, and the output stayed the 
same. Another idea would be to add a maximum width limiter for images. For example,
when I upload an image, I want it to be converted to WebP and also resized to a 
maximum width of 1000px (of course, this value should be configurable). It would
be great to have this feature.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/force-webp/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Force WebP〉的開發相關工作。

參與者

 *   [ Qrzysio ](https://profiles.wordpress.org/qrzysio/)

[將〈Force WebP〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/force-webp)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/force-webp/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/force-webp/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/force-webp/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/force-webp/)。

## 變更記錄

#### 1.5

 * Fixed an issue where some WordPress thumbnail sizes could be skipped during WebP
   conversion.
 * Improved metadata handling for duplicate thumbnail files.
 * Improved stability of thumbnail conversion.

#### 1.4

 * Tested compatibility with WordPress 7.0
 * Lowered minimum PHP requirement to 7.4
 * Added safer filename handling
 * Added fallback support for missing mbstring/iconv extensions
 * Improved plugin compatibility checks
 * Improved documentation

#### 1.3

 * Improved compatibility with other plugins by lowering upload hook priorities.
 * Other plugins can now safely set or override image title and alt text.
 * Minor internal code and stability improvements.

#### 1.2

 * Fixed thumbnail generation issue (conversion now runs after metadata creation)–
   thanks to @koultti.
 * Added optional maximum image width setting for original uploads.
 * Integrated with WordPress big image scaling.
 * Automatic removal of WordPress backup original images.
 * Improved WebP quality handling (quality setting now reliably affects output).
 * Internal code cleanup and stability improvements.

#### 1.1.4

 * Added a “Settings” link on the plugins list.
 * Added server WebP support status message on the settings page.

#### 1.1.3

 * Typo fixed.

#### 1.1.2

 * Changed minimum required PHP version to 8.1.
 * Changed minimum WordPress version to 6.5.

#### 1.1.1

 * Improvements and small fixes.

#### 1.1

 * Improved: plugin now checks whether Imagick is available on the server.

#### 1.0.3

 * Fixed issue where PNG images without transparency were converted to fully transparent
   images.
 * Added configuration page in Tools  Force WebP to set image quality.

#### 1.0.2

 * Default WebP changed to 90%.

#### 1.0.1

 * Added filename uniqueness handling for WebP files.

#### 1.0

 * Initial release: convert JPG/PNG to WebP (90% quality), remove original files,
   rename files, and set alt text.

## 中繼資料

 *  版本 **1.5**
 *  最後更新 **5 天前**
 *  啟用安裝數 **90+**
 *  WordPress 版本需求 ** 6.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/force-webp/)
 * 標籤:
 * [images](https://tw.wordpress.org/plugins/tags/images/)[media](https://tw.wordpress.org/plugins/tags/media/)
   [optimization](https://tw.wordpress.org/plugins/tags/optimization/)[speed](https://tw.wordpress.org/plugins/tags/speed/)
   [webp](https://tw.wordpress.org/plugins/tags/webp/)
 *  [進階檢視](https://tw.wordpress.org/plugins/force-webp/advanced/)

## 評分

 4 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/force-webp/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/force-webp/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/force-webp/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/force-webp/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/force-webp/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/force-webp/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/force-webp/reviews/)

## 參與者

 *   [ Qrzysio ](https://profiles.wordpress.org/qrzysio/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/force-webp/)