How to Remove the GoJS Watermark The GoJS library displays a watermark on diagrams when it is being used without a valid license or when the license configuration is incorrect. This "evaluation" watermark typically appears in the upper-left corner of the diagram canvas. 1. The Official Method: Using a License Key
The standard and legal way to remove the watermark is to purchase a license and apply the provided key to your project. License keys are tied to specific major/minor versions and the domain from which your application is served. Steps to implement a license key:
Obtain a Key: Purchase a license from GoJS official site or contact their sales team for specific options like OEM or mobile licensing.
Set the Property: Before creating any diagrams, set the static go.Diagram.licenseKey property in your code. javascript
// Example for version 1.7 and beyond go.Diagram.licenseKey = "YOUR_LICENSE_KEY_HERE"; Use code with caution. Copied to clipboard
Verify Hosting: Ensure your application is being served via a web server (e.g., http://localhost or your registered domain). Opening the HTML file directly from the file system (file:///...) will often cause the watermark to remain even with a valid key. 2. Handling Special Environments
Deployment in non-standard web environments requires specific licensing configurations: gojs remove watermark
Electron or Cordova: Because these apps are not served from a domain, you must use the "Unlimited Domains" option or activate the license using the name or productName specified in your package.json.
Salesforce (LWC): In environments like Salesforce, ensure the library is loaded correctly and the key is applied to the global go object before the diagram is initialized. 3. Alternative Solutions (Technical Workarounds)
Community developers sometimes share unofficial ways to hide the watermark for debugging or testing purposes, though these are not supported by the manufacturer and may violate terms of service. Remove Watermark from GoJs [closed] - Stack Overflow
To remove the watermark from GoJS diagrams, you must typically use a valid license key or follow deployment procedures provided by Northwoods Software
. GoJS is a commercial JavaScript library; the watermark is a standard feature for evaluation and unauthorized versions. Official Methods for Removal
The process for removing the watermark depends on your version and environment: Version 1.7 and Newer : You must set the go.Diagram.licenseKey property in your code before creating any diagrams. javascript go.Diagram.licenseKey = "Your-License-Key-Here" Use code with caution. Copied to clipboard Version 1.6 and Older : These versions required a custom-generated go-debug.js library file tied specifically to your domain. Localhost Development How to Remove the GoJS Watermark The GoJS
: The watermark generally does not appear when your application is served from Non-Domain Environments
: For desktop or mobile apps (e.g., Electron, Cordova, or Salesforce), you often need an "Unlimited Domains" license to suppress the watermark since there is no standard web domain to validate against. Google Groups Common Issues and Troubleshooting
If the watermark persists after applying a license key, check the following: Domain Match
: Ensure the domain from which the page is served matches the domain registered with the license key. Version Mismatch
: License keys are tied to major and minor version numbers (e.g., 2.1 vs 2.2). If you upgrade your library version, you may need to request a new key from Product Activation Implementation Error : Verify that go.Diagram.licenseKey is assigned the diagram is initialized. Serving Source
: The watermark may appear if the page is accessed via an IP address instead of the registered domain name. Northwoods Software Unofficial/Technical Workarounds Community discussions on platforms like GitHub Gist Method 1: The Official Way – Purchasing a
suggest that for debugging or non-production evaluation, the watermark can sometimes be hidden by modifying the library's internal drawing functions (e.g., commenting out specific calls like
). However, these methods are not officially supported and may violate the GoJS License Agreement Gojs Remove Watermark - Google Groups
The only legal, sustainable, and safe way to remove the GoJS watermark is to purchase a commercial license and apply your unique license key.
GoJS, developed by Northwoods Software, offers a fully functional evaluation version. To distinguish unlicensed usage, the library displays a small watermark — usually "Evaluation" or "© Northwoods Software" — on diagrams rendered in a browser. This watermark is not a bug or an oversight; it is an intentional mechanism that protects the software creator's rights while allowing developers to test functionality before purchase.
Before attempting to remove the watermark, you must understand its purpose. Northwoods Software (the makers of GoJS) operates on a traditional software licensing model. The watermark serves two primary functions:
When does the watermark appear?
gojs.net or npm without a license key.GoJS evaluation version.licenseKey property.