Log in
Sign up with Google

Social preview bot · Kuaishou

ant-html is Kuaishou’s social preview bot

ant-html is a fetcher operated by Kuaishou, the Chinese short-video company. It retrieves public web pages for Kuaishou services, such as link previews.

Ignores robots.txt

Our take

Allow

It is a link-preview fetcher that makes few requests and helps shared links display properly.

User agent

Mozilla/5.0 (compatible; ant-html/1.0; +https://kuaishou.com/bot)

01 · Operator

Who operates ant-html

Company
Kuaishou
Official docs
knownagents.com

02 · Behavior

What ant-html does

ant-html usually makes a single request shortly after a URL is shared on a Kuaishou service. It reads page metadata to build previews and feed entries. It does not normally crawl further.

03 · Impact

Why ant-html matters for your site

If you allow it

  • Builds previews when your links are shared on Kuaishou
  • Low request volume

If you block it

  • Little value if you have no audience on Kuaishou
  • Reported not to follow robots.txt

04 · Allow

How to allow ant-html

robots.txt

User-agent: ant-html
Allow: /

Cloudflare

# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "ant-html")
Action:     Skip › All Super Bot Fight Mode rules

# Also check Security › Bots: "Block AI bots" can block it regardless of robots.txt.

WordPress

# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: ant-html
Allow: /

nginx

# nginx serves every user agent by default.
# Make sure no rule like this blocks it:
# if ($http_user_agent ~* "ant\-html") { return 403; }

Apache

# Apache serves every user agent by default.
# Make sure .htaccess has no rule like this:
# RewriteCond %{HTTP_USER_AGENT} ant\-html [NC]
# RewriteRule .* - [F,L]

05 · Block

How to block ant-html

ant-html has been reported to ignore robots.txt. Block it at your CDN or web server as well.

robots.txt

# ant-html has been reported to ignore robots.txt.
# Add a Cloudflare, nginx or Apache rule as well.
User-agent: ant-html
Disallow: /

Cloudflare

# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "ant-html")
Action:     Block

WordPress

# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: ant-html
Disallow: /

nginx

# In your server { } block:
if ($http_user_agent ~* "ant\-html") {
    return 403;
}

Apache

# .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ant\-html [NC]
RewriteRule .* - [F,L]
</IfModule>

06 · User agents

User agents we see for ant-html

The user agent published by the operator:

Mozilla/5.0 (compatible; ant-html/1.0; +https://kuaishou.com/bot)

07 · Verification

Is it really ant-html?

ant-html’s operator publishes no IP ranges or hostnames, so requests cannot be verified. Treat the user agent as a claim, and watch your logs for unusual request rates.

FAQ

Questions about ant-html

Who operates ant-html?

ant-html is operated by Kuaishou. Its user agent links to kuaishou.com/bot.

Why does ant-html visit my site?

It usually fetches a page right after someone shares its URL on a Kuaishou service, to build a preview.

How do I block ant-html?

Block the ant-html user agent at your server or firewall. Known Agents reports that it does not follow robots.txt.

Last reviewed Oct 7, 2026

Your site

See which pages ant-html crawls on your website

Log Hero reads your server logs and shows every AI bot, every page, every day.

Sign up with Google

Free during early access