navigator.vendor is a read-only property that returns a short vendor string. Per MDN it is always one of "Google Inc.", "Apple Computer, Inc.", or (in Firefox) the empty string.
Read the notes below before you rely on this property. Prefer feature detection when support is limited.
Syntax
Use navigator.vendor. Start with this line.
JavaScript
navigator.vendor
Call
What it does
navigator.vendor
Primary signature.
Built into the browser. Read navigator.vendor on Navigator — no import required.
Library declarations
JavaScript
navigator.vendor
Parameters
This member has no parameters beyond those shown in the signature.
Return Value
Return Value
Description
*
string
JavaScript Examples
Example 1 — Read vendor
Log the current vendor string (may be empty in Firefox).
Google Inc.
"Google Inc."
(or "Apple Computer, Inc." / "")
How It Works
Read the property. No arguments — returns a string immediately.
Empty is valid. Firefox returns "" per MDN.
Use JSON.stringify. Makes empty strings visible in logs.
Read-only. You cannot assign a new vendor from page script.
Example 2 — Map the Three MDN Values
Turn the closed set of vendor strings into a coarse display label.
JavaScript
function vendorLabel(v) {
if (v === "Google Inc.") return "Chromium-family vendor string";
if (v === "Apple Computer, Inc.") return "Apple vendor string";
if (v === "") return "empty (Firefox per MDN)";
return "unexpected: " + v;
}
console.log(vendorLabel(navigator.vendor));
Service workers supported
vendor (for logging only): Google Inc.
How It Works
Skip vendor branches."Google Inc." is shared by many browsers.
Detect the API.in / existence checks answer “can I use this?”
Log vendor optionally. Fine for diagnostics, not for control flow.
Keep a fallback. Progressive enhancement beats brittle sniff tables.
Compatibility
Browser Support
Navigator.vendor returns a string. MDN marks it Baseline Widely available (since July 2015). Values are limited to "Google Inc.", "Apple Computer, Inc.", or "" in Firefox.
✓ Baseline Widely available
Navigator.vendor
Supported in all modern browsers. Chromium → Google Inc.; Safari → Apple Computer, Inc.; Firefox → empty string.
BaselineWidely available
Google Chrome"Google Inc."
Yes
Microsoft Edge"Google Inc."
Yes
Mozilla Firefox"" (empty)
Yes
Apple Safari"Apple Computer, Inc."
Yes
Opera"Google Inc."
Yes
Internet ExplorerSupported (legacy)
Yes
vendorUniversal in browsers
Bottom line: Safe to read everywhere. See the MDN vendor reference. Do not use it as a feature gate.
Frequently Asked Questions
Per MDN, the value is always either "Google Inc.", "Apple Computer, Inc.", or (in Firefox) the empty string.
No. MDN marks it Baseline Widely available (since July 2015). It is not Deprecated, Experimental, or Non-standard.
Chrome, Edge, Opera, and other Chromium-based browsers typically return "Google Inc.".
Safari typically returns "Apple Computer, Inc.".
MDN documents that Firefox returns the empty string for navigator.vendor.
It is a weak signal. Prefer feature detection for capabilities. Edge also reports "Google Inc.", so vendor alone cannot identify a brand reliably.