Gojs Remove Watermark -

Run your app. The corner watermark is gone. You can now export diagrams as PNG/PDF without the stamp.


GoJS, developed by Northwoods Software, is a powerful and flexible JavaScript library used for designing and implementing interactive diagrams. It's widely used for various applications, including flowcharts, organizational charts, mind maps, and more. The library offers a free trial, allowing developers to assess its capabilities.

During the trial period, GoJS includes a watermark in the diagram. This watermark is a feature to remind users that the diagram is created with a trial version of the library. Once you decide to purchase a license, you receive a key that allows you to remove this watermark and use the full functionality of GoJS without any limitations.

Sometimes developers search for how to remove the watermark without buying a license – typically by manipulating the library's internal code. This is not legal, but from a technical standpoint, here is what is involved:

In older versions, the watermark could be removed by:

For example (conceptual, not exact code):

// Original (minified) code segment
function addWatermark() 
    var wm = new go.TextBlock();
    wm.text = "© Northwoods Software...";
    diagram.add(wm);

// Hack: Overwrite or disable it go.Diagram.prototype.addWatermark = function() {}; gojs remove watermark

However, modern versions of GoJS use obfuscation, integrity checks, and license key validation that can cause the diagram to fail, crash, or even add the watermark more aggressively if tampering is detected.

A: Same solution: license key. The trial watermark is identical to the evaluation watermark.

Advanced users try to use a Hex editor or a JavaScript beautifier to search for the string "watermark" or "Trial Version" inside the go.js file and manually delete the code.

Why this is catastrophic:

There is no "hack" or code snippet to remove the watermark in the evaluation version. Run your app

Attempting to modify the library code to bypass the watermark is a violation of the GoJS Software License Agreement. The library is heavily obfuscated to prevent tampering.

To remove the watermark legitimately, you must purchase a license from Northwoods Software. Once you have a license, you will be provided with a Licensed Version of the library.

After including the go.js or go-debug.js script, initialize the license key before creating any diagrams.

JavaScript Example:

// IMPORTANT: Set this BEFORE creating any Diagram or Part
go.licenseKey = "YOUR_PURCHASED_LICENSE_KEY_HERE";

// Now create your diagram const myDiagram = new go.Diagram("myDiagramDiv"); // The watermark will be GONE.

TypeScript/Angular/React Example:

import * as go from 'gojs';

// Set the key globally (go as any).licenseKey = "YOUR_LICENSE_KEY";

// Proceed with diagram initialization const diagram = new go.Diagram("diagramDiv");

Verification: Once the license key is set correctly, the “Evaluation” text will disappear immediately. No additional CSS hacks or DOM manipulation is required.