网页服务检查

检查多个网站或 API 是否在线。每行输入一个 URL — 所有检查在您的浏览器中运行。

查看指南

CORS 限制 — 客户端检查无法避免

所有检查均在您的浏览器中运行。CORS(跨源资源共享)是浏览器的安全机制,会阻止 JavaScript 读取其他域名的响应。大多数网站不允许此操作 — 即使网站正常运行也会显示「CORS 阻止」。此限制在客户端运行时无法避免;没有替代方案。

对于被 CORS 阻止的站点,我们会使用仅检查可达性的方式重试,以便您了解站点是否已响应。

指南

What does this tool do

The Web Service Check tool checks if multiple websites or APIs are live. Enter URLs—one per line—and see status codes, response times, and availability. All checks run in your browser via fetch(); no server-side proxy. Useful for monitoring uptime, debugging connectivity, and quickly verifying that APIs or sites respond.

How to use it

  1. Enter URLs — Paste or type URLs, one per line (or comma-separated). Add https:// if missing.
  2. Click Check — The tool validates URLs, then fetches each one in batches of 5.
  3. View results — A table shows URL, HTTP status code, response time (ms), and status (Up, Redirect, Client Error, Server Error, Timeout, Reachable, CORS blocked).
  4. Interpret status — Green = Up (2xx) or Reachable (CORS restricted), Yellow = Redirect (3xx), Red = error or blocked.

How it works

URLs are parsed from the textarea (split by newline or comma), trimmed, and validated. Invalid or duplicate URLs are skipped. Only http and https are allowed. Each URL is first fetched with mode: "cors" to get full status. If that fails with a CORS-like error, the tool retries with mode: "no-cors" — if the request succeeds, the site is reported as "Reachable" (status unknown). Requests run from your browser; CORS applies to the first attempt. A 5-second cooldown prevents rapid re-checks. Maximum 20 URLs per run.

All computation runs in your browser. No data is sent to our servers.

Use cases & examples

  • Uptime check — Verify multiple endpoints are responding.
  • API health — Quickly ping several API URLs.
  • Connectivity debug — See which URLs respond and which time out.
  • CORS check — Identify which sites allow cross-origin requests.

Example

CORS-friendly URLs that work from the browser (click "Try CORS-friendly sample" to load them):

  • https://httpbin.org/get → 200, Up
  • https://httpbin.org/status/200 → 200, Up
  • https://jsonplaceholder.typicode.com/posts/1 → 200, Up
  • https://api.github.com → 200, Up
  • https://httpbin.org/status/404 → 404, Client Error
  • https://httpbin.org/delay/10 → Timeout (8 s limit)
  • Site with strict CORS → Reachable (CORS restricted) if it responds; CORS blocked if it also fails the no-cors fallback

CORS and no-cors fallback

The Web Service Check runs entirely in your browser. It first uses fetch() with mode: "cors" to get full status codes. When that fails due to CORS (the target does not send Access-Control-Allow-Origin), the tool retries with mode: "no-cors". With no-cors, the browser allows the request but returns an opaque response — we cannot read status, headers, or body. If the no-cors request succeeds, we report Reachable (site responded; status unknown). If it also fails (timeout, network error), we report CORS blocked.

This fallback lets you see that many more sites are responding, even when full status is unavailable. CORS still cannot be bypassed to read response data; the fallback only confirms reachability.

Limitations & known constraints

  • CORS — Sites that block CORS may show "Reachable" (responded; status unknown) or "CORS blocked" (both CORS and no-cors failed). Full status codes require CORS-enabled targets.
  • Max 20 URLs — Per check. Reduce the list if you have more.
  • 8 s timeout — Each URL has an 8-second limit.
  • 5 s cooldown — Wait 5 seconds before running another check.
  • http/https only — Other schemes are rejected.
  • Browser limits — Subject to same-origin policy and browser fetch behavior.

常见问题

Does this tool send data to a server?
No. All URL checks run entirely in your browser. Your browser fetches each URL directly. No data is sent to our servers.
Why do some URLs show "CORS blocked" or "Reachable"?
CORS (Cross-Origin Resource Sharing) is a browser security feature. The tool first tries a full CORS fetch. If that fails, it retries with a reachability-only check (no-cors mode). Sites that respond but block CORS will show "Reachable" with a note that the HTTP status is unknown. Sites that fail both checks show "CORS blocked."
How many URLs can I check at once?
Maximum 20 URLs per check. URLs are processed in batches of 5 with an 8-second timeout each. A 5-second cooldown applies between checks.
What URLs are supported?
Only http and https. Each URL is validated and normalized (https is added if no scheme is given). Invalid URLs are skipped.

所有计算和转换均完全在您的浏览器中运行。不会向任何服务器发送数据,您的输入不会离开您的设备。