- Knowledge Base
- Marketing
- Forms
- Find your form GUID
Find your form GUID
Last updated: October 8, 2025
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.
Locate a form's GUID
Use the updated form editor
- In your HubSpot account, navigate to Marketing > Forms.
- Create a new form or hover over an existing form and click Edit.
- In the top right, click Review and update.
- In the right panel, at the bottom, click Update.
- In the dialog box, click Get embed code.
- In the dialog box, look for 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
- In your HubSpot account, navigate to Marketing > Forms.
- Hover over an existing form and click Edit.
- In the upper right, click Embed.
- In the dialog box, look for 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.
Forms
Thank you for your feedback, it means a lot to us.
This form is used for documentation feedback only. Learn how to get help with HubSpot.