Skip to content

Find your form GUID

Last updated: August 5, 2026

Available with any of the following subscriptions, except where noted:

The form GUID (Globally Unique Identifier) is a 128-bit integer number used for identification. The GUID is required when using HubSpot's Forms API, and can also help you identify a HubSpot form embedded on an external page.

Permissions required Edit forms permissions are required to access the form editor. 

Locate a form's GUID

Use the updated form editor

  1. In your HubSpot account, click More, then navigate to Marketing > Forms. If More doesn't appear in your account, navigate to Marketing > Forms directly.
  2. Create a new form or hover over an existing form and click Edit.
  3. In the top right, click Review and update.
  4. In the right panel, at the bottom, click Update.
  5. Click Get embed code.
  6. Identify the data-form-id attribute value in the embed code. This is the form GUID. The form GUID also displays in the page URL when in the form editor. 


Use the legacy form editor

  1. In your HubSpot account, click More, then navigate to Marketing > Forms. If More doesn't appear in your account, navigate to Marketing > Forms directly.
  2. Hover over an existing form and click Edit.
  3. In the upper right, click Embed.
  4. Identify the formID attribute value in the embed code. This is the form GUID. The form GUID also displays in the page URL when in the form editor. 

Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.