If you have downloaded a copy of the GoJS library from for use in your own app, you have probably noticed that a watermark appears in the diagram. For version 1.7 and beyond, you need to use a license key to remove this watermark from your domain. For version 1.6 and older, you need to get a generated go.js or go-debug.js library that is tied to your particular domain.

When you want to deploy to your own web site your app that uses GoJS, you will need to make a request at:

Enter your e-mail address and the e-mail address of the person who purchased a license for GoJS, the order number for that purchase, and your web site's domain name. Please make sure that e-mail from "" is not caught in your corporate or personal spam filter. If you contact us for further help either via our web site or by sending us email, please include the e-mail that our web server sent to you.

Regarding domain names, for example, if your app will be at:, enter as the domain name. This procedure works for internal corporate web sites as well as for public web sites, with hostnames and with IP addresses. The protocol and port number do not matter. It will work when the HTML page is served from a subdomain of the licensed domain, such as from It will also work when "localhost" is the domain, to help your debugging and testing efforts.

The GoJS library never "phones home" -- it will never initiate any network traffic other than when explicitly directed to do so, such as for downloading image files.

For 1.7 and Later

Our server will generate a GoJS license key for you, in the form of a JavaScript statement that you will need to include with your code. It must execute after the GoJS library file has been loaded, but before you create your first Diagram.

// Must execute after loading the library and before you create your first Diagram:
go.licenseKey = "YourKeyHere";

In TypeScript you may need to say:

// Must execute after loading the library and before you create your first Diagram:
(go as any).licenseKey = "YourKeyHere";

This mechanism works when using either the release library, go.js, or the debug library, go-debug.js, but only with GoJS version 1.7 or later. Of course you will need to substitute your generated license key string for "YourKeyHere" in the go.licenseKey assignment statement. License keys are long strings without any embedded whitespace or punctuation. You can request license keys for as many domains as you have licensed.

Unlike the older activation method, you no longer need to get a new domain-specific go.js library each time you update or upgrade. Once your key is in place, you can continue to use the same key while updating the patch version of GoJS. For example, a license key for version 1.7.3 will work for all versions 1.7.*. Remember to get a new license key when upgrading to a new major or minor version of GoJS. For example, when upgrading from version 5.3.1 to version 5.4.6, you will need a new license key.

License keys only depend on the major/minor version number and the domain from which the HTML page was served. License keys are valid forever, as long as the major and minor version number of the library do not change and as long as the HTML page is served from the same domain.

You can download the go.js library from the GoJS Downloads page, or you can install it via Node package manager (npm) or via NuGet, or you can link to a CDN such as UNPKG or JSDELIVR. Most customers will no longer need a special build of GoJS, as had been the case before version 1.7.

For Unlimited Domains OEM Customers

If you are an ISV and intend to distribute your app to run on many customers' web sites, Contact sales for our our Unlimited Domains option and instructions on requesting and using a custom go.js library that works on any site or platform.

When building a desktop application using Electron or Cordova or NW or when hosted in a WebView as part of a desktop application, your HTML page is not being served from a web server at a domain. In such circumstances you will need to use the Unlimited Domains option to make sure your Diagram does not display a watermark. You should use your organization's domain as the requested domain name.

The procedure for unlimited domains is similar to the procedure followed for the 1.6 and older versions, but with the addition of requiring a license key.

For 1.6 and Older

Our automated web server will create go.js and go-debug.js libraries that are customized not to show a watermark on pages from that domain and will e-mail you instructions for how to download them.

You can request libraries for as many domains as you have licensed. If there is a problem you will receive e-mail from our web server describing the problem.

When updating or upgrading to a new version of GoJS less than version 1.7, you will need to get a new domain-specific go.js library again using the same procedure. (We too had to produce one for the domain "" each time we updated our web site.)

Internationalization and Localization

GoJS apps can display text in non-Latin languages. For example, see Japanese Family Tree.

The GoJS library does not manipulate currency values or date/time values or addresses, so there are no localization issues with those data types and values. GoJS does not contain any of its own icons (images) or cursors.

Nor does GoJS display any built-in text strings, so no translation is needed. There are error and warning messages that may be output to the console, but those messages are only meant for debugging by programmers, not for consumption by end users. Reading and writing of numeric values is only performed internally when reading and writing JSON or geometry path strings or CSS colors, which are all defined to use non-localized formats.

All user-visible text is completely under the control of the programmer. For localizability you may find it convenient to use conversion functions in Bindings. The TextEditingTool uses an HTML TextArea element to implement in-place text input and text editing, thereby utilising the browser's support for input method editors.