URL Is Blob

Check whether an absolute WHATWG URL uses the blob scheme.

Description

Blob URLs identify objects registered in a browser context.

Blob URLs identify objects registered in a browser context. Their scheme can be recognized from text independently of whether the corresponding object still exists.1

Check whether an absolute WHATWG URL uses the blob scheme.

When to use URL Is Blob

Use this tool to check whether an absolute WHATWG URL uses the blob scheme.

Choose the URL, decoded source text, header value or explicit byte list requested by this tool. Paste the complete relevant input and follow its parsing and encoding conventions.

How to use URL Is Blob and understand its results

  1. Choose the URL, decoded source text, header value or explicit byte list requested by this tool. Paste the complete relevant input and follow its parsing and encoding conventions.
  2. Enter url using the field table and calculation rules, then run the tool.
  3. Read result. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
urlURL to classify.string; maximum length: 1000000Required

Paste a URL string. The tool parses without a base and compares the normalized scheme to blob:. Other schemes and parsing failures yield false, while malformed tool input returns an error.

result=absoluteParsingSucceeds && protocol==='blob:'

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
resultWhether the URL uses the requested scheme.boolean
json
{
  "input": {
    "url": "blob:https://example.com/123"
  },
  "output": {
    "result": true
  }
}

Limitations and assumptions

A true result does not verify a backing blob, lifetime, content or permission to read it. The tool makes no browser-context lookup or network request.

Numeric inputs must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Extremely large text inputs are rejected. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors. A successfully returned false flag is an evaluated outcome; its meaning is explained above.

Alternative or Complementary methods

Use URL Origin: Extract the origin of an absolute URL using the WHATWG URL parser, including its normalization rules. For a complementary task, use URL Is Absolute: Check whether a reference parses as an absolute WHATWG URL.

References

  1. URL Is Blob — tool.io

Similar or alternative tools

  • URL Origin

    Extract the origin of an absolute URL using the WHATWG URL parser, including its normalization rules.

  • URL Is Absolute

    Check whether a reference parses as an absolute WHATWG URL.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies