Free tool

Pinterest Save button and widget generator.

Add a Save button to your photos, a Follow button, or a widget that shows your pins and boards. Pick a style, see it live and copy the code. Free, no sign-up.

Live preview
Sample photo of a lemon drizzle cake
Shows on your photos when a visitor hovers over them.
Paste once, just before </body>
<script async defer src="https://assets.pinterest.com/js/pinit.js" data-pin-hover="true"></script>
Widget
Button
Shape
Size

The preview uses Pinterest’s own widget script, so it looks exactly like it will on your site.

How it works

  1. 1

    Pick a widget

    A Save button for your photos, a Follow button, or a widget that shows your pins.

  2. 2

    Choose a style

    Change the shape, size and layout. The preview updates as you go.

  3. 3

    Copy the code

    Paste it into your site’s HTML, a WordPress block or your Shopify theme.

What is a Pinterest widget?

A Pinterest widget is a small piece of code from Pinterest that you add to your website. It can be a button, like the Save button or the Follow button, or a box that shows pins from your profile or one of your boards.

This generator makes the code for all of them. You choose what you want, change the style, and the preview shows how it will look. Then you copy the code and paste it into your site. You don’t need a Pinterest developer account for this.

Save button or Pin It button?

They are the same thing. Pinterest used to call it the “Pin It” button and changed the name to “Save” in 2017. Many tutorials and plugins still use the old name, so you will see both.

The button lets your visitors save an image from your page to one of their Pinterest boards. The pin keeps a link back to your page. When other people find that pin later, they can click through to your site. This is how a single save can bring you visitors for months or even years.

How to add the code to your website

Where you paste the code depends on how your site is built:

  • Plain HTML: paste the button or widget code where you want it to show. Paste the script line once, just before the closing </body> tag.
  • WordPress: add a Custom HTML block in the editor and paste the code there. For the Save button on every image, use a header and footer plugin, or the theme settings, so the script loads on all pages.
  • Shopify: go to Online Store, then Themes, then Edit code, and paste the script into theme.liquid before </body>. For a single widget, you can also use a Custom Liquid section.
  • Squarespace and Wix: use a Code block or an Embed element for widgets, and the code injection settings for the script.

Which Pinterest button or widget should you use?

If you have a blog, a recipe site or a store, start with the Save button on every image. It is the easiest way to get more of your images onto Pinterest, and you set it up only once.

Add the Follow button in your sidebar, footer or about page if you want more followers. A profile or board widget is good when you want to show your Pinterest content on your site, for example a board with outfit ideas next to a fashion post. A pin widget lets you embed one pin, like a Pinterest embed in a blog post.

Don’t add too many widgets to one page. Each one loads images from Pinterest, and a slow page is bad for your visitors and for your search ranking.

Saves are good. Fresh pins are better.

Pinbutter turns every page on your site into pins and posts them to Pinterest for you, so there’s always something new to save.

Add your website

Questions about the Save button

Where do I paste the code?

Put it in your page’s HTML where you want the button or widget to show. In WordPress, use a Custom HTML block. In Shopify, edit your theme’s code. For the “On every image” button, there is nothing to place: paste the script once, just before the closing </body> tag, or in a header and footer plugin.

Do I need the script more than once?

No. Add the <script> line once per page, even if the page has several buttons and widgets. It loads in the background, so it won’t hold up the rest of your page.

How do I hide the Save button on some images?

Add data-pin-nopin="true" to the <img> tag, for example on your logo or icons. To stop people saving anything from a page, add <meta name="pinterest" content="nopin"> to its <head>.

Can I use my own button design?

Yes. Make any link or button point to https://www.pinterest.com/pin/create/button/ with url, media and description in the address, like the “For one image” code above. Style it however you like. You don’t need Pinterest’s script for a plain link.

Why isn’t my widget showing?

The profile, board or pin has to be public. Secret boards can’t be embedded. Some ad blockers also hide Pinterest widgets, so try another browser before changing your code.

Does the Save button get my site more traffic?

Every save puts your image, with a link back to your page, in front of the saver’s followers. Saves help, but the pins you post yourself matter more. That part is what Pinbutter does for you.