BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
HTML代码优化工具 icon
Possibly abandoned Tested up to 6.0.16 #41 in html

HTML代码优化工具

由于产品线调整,HTML代码优化工具(后续不再更新版本)已整合到Magicpost插件,该插件将包括定时发布、文章搬家、HTML清理、下载管理和社交分享等模块。! 了解详情

Active installs100+100+ tier
Downloads · 30d75▲ +17.2% vs prev. 30d
Rating5/52 reviews
Health score32/100At risk
All-time downloads7.6KSince Jul 2019
Support resolved—No recent threads
RequiresWP 5.5PHP 5.3.3+
Downloads · 7d22▲ +57.1% week over week
Our verdict

Consider an alternative

HTML代码优化工具 shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 4 years ago, and scores 32/100 on our health check.

  • Small user base (100+ active installs)
  • Very few reviews so far
  • No update in 4 years
  • Only tested up to WordPress 6.0 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

134Jul 5Aug 18Oct 2
Yesterday5
Daily average (1y)2
Peak day8Nov 5, 2025
Last 12 months616

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where HTML代码优化工具 stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
html >100 10,000 Best html plugins →
HTML标签 #4 24 Best HTML标签 plugins →
文本格式化 #1 2 Best 文本格式化 plugins →
样式 #26 85 Best 样式 plugins →
代码格式化 #1 4 Best 代码格式化 plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

Rating breakdown

★★★★★★★★★★ 5 from 2 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About HTML代码优化工具

From the official readme · v1.1.2

Description

Magicpost插件

由于产品线调整,HTML代码优化工具(后续不再更新版本)已整合到Magicpost插件,该插件将包括定时发布、文章搬家、HTML清理、下载管理和社交分享等模块。! 了解详情

HTML代码优化工具(Clear HTML Tags)是一款站长实用的WordPress文章编辑辅助插件,可以帮助站长快速实现删除HTML代码不需要的常见HTML标签及标签属性,常用的代码格式优化。

1.支持删除超过40种的代码标签且支持自定义设置。

支持删除的HTML代码标签包括:
* 常见标签-a/div/span/article/figcaption/figure/br/section/blockquote/em/b/i/strong/h1/h2/h3/h4/h5/h6/p/img/video。
* 表格标签-table/tbody/thead/tfoot/td/th/tr/col/caption/colgroup。
* 列表标签-ul/li/ol/dl/dt/dd。
* 其他标签-detail/header/footer/hr/iframe/ins/body/head/html/ruby/title/script/nav。

2.支持删除超过10种的代码标签属性且支持自定义设置。

支持删除的常见HTML代码标签属性包括:id/class/style/srcset/sizes/width/height/data-*/rel/alt等.

3.支持代码格式优化。

支持段落开头空格删除,段落之间自动空行,图像之间自动空行,图像与段落间自动空行,H标题与段落间自动空行。

全新的版本在用户体验上进行了优化,由原来的文章编辑操作时设置插件参数改为插件设置界面设置默认参数,文章编辑时可临时调整当前操作参数,提升插件的工作效率。

Notes

HTML代码优化工具是一款简单实用的WordPress文章编辑辅助插件,可以帮助站长将文章HTML代码中不需要的代码标签及属性一键删除。目前支持清理的HTML代码标签30+种,常见标签属性8种。

闪电博(wbolt.com)专注于WordPress主题和插件开发,为中文博客提供更多优质和符合国内需求的主题和插件。此外我们也会分享WordPress相关技巧和教程。

除了HTML代码优化工具插件外,目前我们还开发了以下WordPress插件:

如果你在WordPress主题和插件上有更多的需求,也希望您可以向我们提出意见建议,我们将会记录下来并根据实际情况,推出更多符合大家需求的主题和插件。

致谢!

闪电博团队

Installation

方式1:在线安装(推荐)

  1. 进入WordPress仪表盘,点击“插件-安装插件”:

* 关键词搜索“HTML代码优化工具”,找搜索结果中找到“HTML代码优化工具”插件,点击“现在安装”;
* 或者点击“上传插件”-选择“HTML代码优化工具”插件压缩包clear-html-tags.zip,点击“现在安装”。
2. 安装完毕后,启用 HTML代码优化工具 插件.
3. 通过“设置”->“HTML代码优化工具” 进入插件设置界面进行插件参数设置.
4. 编辑文章时,点击编辑器“清楚代码”按钮执行操作即可。

方式2:上传安装

FTP上传安装
1. 解压插件压缩包clear-html-tags.zip,将解压获得文件夹上传至wordpress安装目录下的 /wp-content/plugins/目录.
2. 访问WordPress仪表盘,进入“插件”-“已安装插件”,在插件列表中找到“HTML代码优化工具”,点击“启用”.
3. 通过“设置”->“HTML代码优化工具” 进入插件设置界面.
4. 编辑文章时,点击编辑器“清楚代码”按钮执行操作即可。

仪表盘上传安装
1. 进入WordPress仪表盘,点击“插件-安装插件”;
2. 点击界面左上方的“上传按钮”,选择本地提前下载好的插件压缩包clear-html-tags.zip,点击“现在安装”;
3. 安装完毕后,启用”HTML代码优化工具”插件;
4. 通过“设置”->”HTML代码优化工具”进入插件设置界面.
4. 编辑文章时,点击编辑器“清楚代码”按钮执行操作即可。

Frequently asked questions

为什么该插件在古腾堡编辑器不生效?

插件暂时不支持古腾堡编辑器,我们将来会根据古腾堡编辑器的发展情况及成熟程度再考虑兼容。关闭古腾堡编辑器使用经典编辑器,可以通过安装插件Disable Gutenberg实现。

在升级插件版本时遭遇429 too many requests报错?

这是由于WordPress官方服务器限制了中国区域请求导致,你可以通过安装Kill 429这个插件来解决这个问题。

自定义代码标签格式是否需要输入完整的和?

不需要,你无需输入及,只需要输入标签名即可。

Changelog

1.1.1

  • 修复保存设置权限安全问题;
  • 修复可能存在xss攻击漏洞问题。

1.1.0

  • 新增可删除HTML代码标签8种(共41种);
  • 新增可删除的HTML代码标签属性2种(共10种);
  • 新增可删除HTML代码标签及标签属性自定义功能;
  • 新增代码格式优化功能;
  • 进一步优化插件用户体验,支持插件默认参数设置及当前文章操作临时参数设置。

1.0.0

  • 新增33种可清理的HTML代码标签
  • 新增8种可清理的HTML代码标签属性
  • 新增清理代码标签及标签属性设置功能

Full changelog on WordPress.org →

Screenshots

HTML代码优化工具设置界面截图.
HTML代码优化工具设置界面截图.
HTML代码优化工具文章编辑操作界面截图.
HTML代码优化工具文章编辑操作界面截图.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best HTML代码优化工具 alternatives

All html plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Shortcoder — Create Shortcodes for Anything Shortcoder — Create Shortcodes for Anything Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the… by vaakash 100K+ ★★★★★★★★★★ 4.9 (227) 3 weeks ago 81
2 Mammoth .docx converter Mammoth .docx converter Mammoth converts semantically marked up .docx documents to simple and clean HTML, allowing… by Michael Williamson 20K+ ★★★★★★★★★★ 4.8 (62) 7 months ago 61
3 Code Embed Code Embed Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML)… by David Artiss 10K+ ★★★★★★★★★★ 4.4 (45) 1 month ago 83
4 Raw HTML Raw HTML Lets you use raw HTML or any other code in your posts. You can also disable smart quotes… by Janis Elsts 10K+ ★★★★★★★★★★ 4.3 (33) 2 years ago 47
5 Minify HTML Minify HTML Minify HTML output for clean looking markup and faster downloading. by Tim Eckel 10K+ ★★★★★★★★★★ 4.7 (33) 7 months ago 61
6 WP Super Minify • Minify, Compress and Cache HTML, CSS & JavaScript WP Super Minify • Minify, Compress and Cache HTML, CSS & Ja… A lightweight plugin that automatically minifies, compresses, and caches HTML, CSS, and… by Dipak Gajjar 8K+ ★★★★★★★★★★ 4.1 (72) 1 month ago 81
7 Allow HTML in Category Descriptions Allow HTML in Category Descriptions This plugin allows you to use unfiltered HTML in your category descriptions by disabling… by Arno Esterhuizen 8K+ ★★★★★★★★★★ 5 (41) 7 months ago 61
8 Custom HTML Block Extension Custom HTML Block Extension Extend Custom HTML block to evolve into the advanced code editor. by Aki Hamano 7K+ ★★★★★★★★★★ 5 (13) 2 months ago 69
9 Code Widget Code Widget Code widget help to add Short Code, PHP Code, HTML, and Simple Text in widget. by Sharaz Shahid 3K+ ★★★★★★★★★★ 4.9 (35) 4 years ago 45
10 Preserved HTML Editor Markup Plus Preserved HTML Editor Markup Plus Preserves HTML and developer edits in HTML AND WYSIWYG tab. Supports inline scripts/css… by J-Ro 3K+ ★★★★★★★★★★ 4.2 (36) 7 years ago 41

FAQ

HTML代码优化工具: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 3, 2026

Is HTML代码优化工具 free?

Yes. HTML代码优化工具 is free to download and use from the official WordPress.org plugin directory.

Is HTML代码优化工具 safe to use in 2026?

HTML代码优化工具 shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 4 years ago, and scores 32/100 on our health check.

How many websites use HTML代码优化工具?

HTML代码优化工具 is active on 100+ WordPress websites and has been downloaded 7,637 times since it launched in July 2019. It was downloaded 75 times in the last 30 days.

Does HTML代码优化工具 work with WordPress 7.1?

HTML代码优化工具 is officially tested up to WordPress 6.0.16, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does HTML代码优化工具 need?

HTML代码优化工具 requires PHP 5.3.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was HTML代码优化工具 last updated?

The latest version, 1.1.2, was released on June 1, 2022 (4 years ago).

Who makes HTML代码优化工具?

HTML代码优化工具 is developed and maintained by wbolt.com.

What are the best alternatives to HTML代码优化工具?

The most popular alternatives to HTML代码优化工具 are Shortcoder (100K+ installs), Mammoth .docx converter (20K+ installs) and Code Embed (10K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.