Pinterest Widget Builder

Save buttons, Follow buttons and Pin, Board & Profile embeds — with a live preview.

Always saves the image and description you set below.
Enter a full URL starting with http:// or https://
Enter a full image URL starting with http:// or https://
Shown in the pin. Keyword-led descriptions get found in search.
Only applies to the rectangle shape.
Just the handle, or paste a full profile URL and we'll pull it out. Enter your Pinterest username.
Defaults to the username if left empty.
Open the pin, copy the address bar, paste it here. Could not find a pin ID in that. It should be a long number.
Enter a board URL, or type username/board-name
Minimum 130.
Minimum 60.
Minimum 60.
Enter a Pinterest username.
Minimum 130.
Minimum 60.
Minimum 60.
Live preview
Fill in the fields above to see the widget.

The preview loads Pinterest's official pinit.js in a sandboxed frame, so it renders exactly as it will on your site. Nothing you type is sent to us.

Your embed code
Fill in the fields above.

How to use Pinterest widgets

Every Pinterest widget is two pieces: an anchor tag carrying a data-pin-do attribute, and Pinterest's pinit.js script, which finds those anchors and replaces them with the real widget.

Where each piece goes

  • Put the anchor tag exactly where the widget should appear.
  • Put the script tag once per page, usually just before </body>.
  • Including pinit.js more than once on the same page causes unpredictable results, so add it once no matter how many widgets you use.

The two Save button modes

One specific image uses data-pin-do="buttonPin", and always saves the image and description you set. Use it under a product photo or a blog graphic you want pinned a particular way.

Let the visitor pick uses data-pin-do="buttonBookmark", which opens a picker showing every image on the page. Use it as a general share button in a post footer.

If the widget does not appear

  • The pinit.js script is missing, or loaded twice.
  • The board or profile is secret. Pinterest only renders public boards.
  • Your editor stripped the data-pin-do attribute. Paste into a raw or custom HTML block, not a rich text field.
  • The pin was deleted, or the username changed.

A note on privacy

Pinterest's script is a third-party script: once it is on your page, Pinterest can see visits to that page. If you publish in the EU or UK, mention it in your cookie notice alongside your other embeds.

Copied