Charset Checker - Detect Encoding Mismatches & Mojibake avatar

Charset Checker - Detect Encoding Mismatches & Mojibake

Pricing

from $0.40 / 1,000 scanned pages

Go to Apify Store
Charset Checker - Detect Encoding Mismatches & Mojibake

Charset Checker - Detect Encoding Mismatches & Mojibake

Verify a page's character-encoding: HTTP vs meta charset, http-equiv, XML, BOM, and mismatch/mojibake risks. Bulk. $0.0005 per page. Failed fetches are recorded free.

Pricing

from $0.40 / 1,000 scanned pages

Rating

0.0

(0)

Developer

Broke to Built

Broke to Built

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Share

Charset / Encoding Checker — detect mismatches & mojibake risk

Verify a page's character-encoding setup and catch the mismatches that cause mojibake (garbled "é" text). Compares the HTTP Content-Type charset, the <meta charset>, http-equiv, any XML declaration, and BOM presence — and flags inconsistencies. Single URL or bulk. $0.0005 per page. Failed fetches are recorded free.

What you get

  • httpCharset, metaCharset, metaHttpEquivCharset, xmlCharset, and bom.
  • consistent — whether all declared encodings agree.
  • issues — specific mismatches (e.g. HTTP says ISO-8859-1 but meta says UTF-8).
  • Fail-soft: an unreachable URL returns {ok:false, error} and is never charged.

Input

{ "url": "https://github.com", "urls": ["https://example.com"], "maxUrls": 25 }

Output (real run, 2026-08-07)

{
"ok": true, "url": "https://github.com", "status": 200,
"contentType": "text/html; charset=utf-8",
"httpCharset": "utf-8", "metaCharset": "utf-8",
"metaHttpEquivCharset": null, "xmlCharset": null, "bom": null,
"consistent": true, "issues": []
}

Pricing — $0.0005 per page

Priced at the floor. No directly comparable charset/mojibake actor was found on the Apify Store on 2026-08-07 (the nearest listings are generic metadata/HTTP-status scrapers), so there is no competitor price to quote.

Limits (honest ones)

  • Reads the declared encodings and BOM from the served response; it does not statistically sniff the byte stream to guess the true encoding.
  • consistent:false flags a declaration mismatch — the actual rendered text may still be fine or broken depending on the browser's resolution order.
  • maxUrls capped per run.

FAQ

  • What causes mojibake? A page served as one encoding but declared as another; this actor surfaces exactly those mismatches.
  • Does it detect a BOM? Yes — UTF-8/UTF-16 byte-order marks are reported.
  • Does it guess the real encoding? No — it compares the declared encodings; use it to catch misconfiguration.
  • What about a dead URL? You get an {ok:false, error} record, uncharged.

Use from code or AI agents

curl -X POST "https://api.apify.com/v2/acts/EliAI~webpage-charset-encoding-checker/runs?token=YOUR_APIFY_TOKEN" \
-H 'content-type: application/json' -d '{"url":"https://github.com"}'

Callable as an agent tool through the Apify MCP server (mcp.apify.com).