Share Buttons

Increase your website’s reach and engagement with customizable share buttons that make content sharing effortless. With just one click, your visitors can spread your posts, products, or pages across 40+ social media channels—helping you boost traffic, visibility, and brand awareness instantly.

Inline Share Buttons

inline share button preview image

Sticky Share Buttons

sticky share button preview image

Copy the code below and paste it in the <head></head> or <footer></footer> tags of your website:

Copy Code code successfully copied!

Copy the placement code below and paste it to wherever you want your new share buttons to appear:

Copy Code Customize your buttons Customize your buttons code successfully copied!

Trusted by Over 3 Million Websites Globally

Sign Up and Get More With a ShareThis Account

Save Your Configurations

Save your button configurations, manage multiple sites, and invite teammates to collaborate.

Unlock Sharing Intelligence®

Harness the power of analytics: see what content gets shared and where your audience engages.

Access All Free Website Tools

Access more free tools to grow traffic, increase engagement, and support privacy and consent needs.

Our Share Buttons

Empower your site visitors to expand the virality of your content, products, images, and videos across 40+ social channels

AI-Driven Smart Sharing Buttons

Take the guesswork out of selecting the right social channels for your audience with our new feature for Inline and Sticky Share Buttons.

We automatically customize the channels based on the most popular sharing in your user’s region using ML algorithms. Sign up or login to our platform to start driving more engagement for your content or products. 

Free To Use

Always free to use and ready to help you grow your audience right away

Customizable

Tailor the design including the alignment, size, and color to match your brand

Mobile Optimized

Built to look and feel amazing on any screen, big or small

Multi-Language Support

Choose your preferred language from over 15 options

WordPress Plugin

Seamless integration with your favorite website platform

Analytics

Simple and digestible insights into what resonates with your audience

Frequently Asked Questions

Got any questions about our products and services? Look no further!

Are ShareThis Share Buttons free?

Yes! Since 2007, we’ve been providing free share buttons to power the sharing of content across the open web.

How do I get the Share Buttons HTML/Share Button code?

You can install the ShareThis share button on your HTML website in a few easy steps. Navigate to the setup page and choose your preference of Inline Buttons or Sticky Buttons. 

Then, select the share buttons you desire. You can customize your design by choosing the alignment, button size, call to action and share count. Once your button is design-ready, click the “register & get the code” to get the your button code. 

Check out this support post for more details on How to Install Share Buttons on a HTML Website

How do I install Share Buttons on my WordPress site?

ShareThis share buttons for WordPress give you more control over where and how share buttons appear on your site. Better yet, there’s no need to copy and paste code, since everything is controlled through our platform and the plugin settings. Downloading and installing our plugin on your WordPress site takes less than five minutes. Watch the tutorial on how to install and give it a try today! 

How do I install Share Buttons on my WIX site?

Installing share buttons on Wix takes a few easy steps. Navigate to the setup page to choose your preference of Inline or Sticky Buttons. 

Then, select the share buttons you desire. You can customize your design by choosing the alignment, button size, call to action and share count. Once your button is design-ready, click the “register & get the code” to get the button code. After you design your share buttons, you can click the “register & get the code” button to get the share button code. Copy the code under “Install sharethis.js on your website.” Then log in to your Wix account to enter the HTML code into the text box. 

Check out this support post for more details on How to Install Share Buttons on Wix

How do I install Share Buttons on my Weebly site?

Installing share buttons on Weebly takes a few easy steps. Navigate to the setup page to choose your preference of Inline or Sticky Buttons.

Then, select the share buttons you desire. After you design the your share buttons, you can click the “register & get the code” button to get the share button code.  Once your button is design-ready, click the “register & get the code” to get the button code. After you design your share buttons, you can click the “register & get the code” button to get the share button code. Copy the code under “Install sharethis.js on your website.” Then log in to your Weebly account to enter the HTML code into the text box. 

How do I create custom Share Buttons

Prefer to customize your share buttons? Great! Our sharing code lets you create custom buttons from scratch. We’ll take care of the sharing and counting for you. 

Check out this support post for more details on How to Create Custom ShareThis Share Buttons

Why is Instagram not available as a Share Button?

Currently, some social media platforms (such as Instagram or Tik Tok) restrict their API and therefore it isn’t possible to share content across an endpoint through an application outside their environment. However, we do offer an Instagram Follow Button, Tik Tok Follow Button (and more!) that you can add by enabling Follow Buttons.

Do I need an account to use share buttons on my website?

No. When no ShareThis account or property is provided, the script automatically initializes using anonymous mode.

Now all you need to do to use our share buttons is place this script in your website code:

<script type="text/javascript" src="https://platform.sharethis.com/sharethis.js" defer></script>

Next, depending on what kind of share buttons you want use, you can simply place the following HTML where you want the buttons to show:

<!-- ShareThis BEGINS -->
<div class="sharethis-share-buttons" data-type="inline-share-buttons">
<span data-network="facebook"></span>
<span data-network="twitter"></span>
<span data-network="linkedin"></span>
<span data-network="email"></span>
<span data-network="sharethis"></span>
</div>
<!-- ShareThis ENDS -->

Notice the “data-type” attribute in the first div. It accepts two values “inline-share-buttons” or “sticky-share-buttons”

The value of the data-type attribute determines the button layout:

-inline-share-buttons renders buttons inline within page content.

-sticky-share-buttons renders floating buttons on the left or right side of the browser window.

Each <span> inside the container represents a social network, defined by its data-network attribute.

How do I add social media networks button to my share buttons?

To add a social media network button, place a element with a data-network attribute inside the ShareThis wrapper

The value of data-network must be the lowercase identifier of a supported social network.

Example wrapper:

<div class="sharethis-share-buttons" data-type="inline-share-buttons"></div>

Example network button:

<span data-network="facebook"></span>

You can include multiple elements inside the wrapper. The order of the elements determines the order in which the buttons appear.

Complete example:

<div class="sharethis-share-buttons" data-type="inline-share-buttons">
  <span data-network="facebook"></span>
  <span data-network="twitter"></span>
  <span data-network="linkedin"></span>
</div>

Once added, the corresponding social network buttons will automatically render on your website.

What social media networks are supported?

The current list of supported social media networks you can place in your share buttons container code are:
‘facebook’
‘x’
’email’
‘whatsapp’
‘linkedin’
‘reddit’
‘tumblr’
‘diigo’
‘digg’
‘flipboard’
‘copy’
‘meneame’
‘fark’
‘facebook-messenger’
‘odnoklassniki’
‘sina-weibo’
‘vk’
‘blogger’
‘snapchat’
‘xing’
‘mail-ru’
‘livejournal’
‘pinterest-pin’
‘buffer’
‘douban’
‘evernote’
‘bookmarks’
‘gmail’
‘hackernews’
‘houzz’
‘instapaper’
‘line’
‘pocket’
‘print’
‘qzone’
‘iorbix’
‘kakao’
‘kindleit’
‘kooapp’
‘microsoftteams’
‘naver’
‘nextdoor’
‘outlook’
‘plurk’
‘pinboard’
‘tencentqq’
‘trello’
‘viber’
‘yummly’
‘diaspora’
‘surfingbird’
‘refind’
‘renren’
‘skype’
‘telegram’
‘threema’
‘yahoomail’
‘wordpress’
‘wechat’

How do I change the order of my social network share buttons?

You can change the order of your social network share buttons by reordering the <span> elements inside the ShareThis wrapper <div>.

The buttons will appear on your website in the same order as the <span data-network> elements in your HTML.

For example, if your buttons are initially ordered like this:

<div class="sharethis-share-buttons" data-type="inline-share-buttons">
  <span data-network="facebook"></span>
  <span data-network="twitter"></span>
  <span data-network="linkedin"></span>
</div>

And you want Facebook to appear after LinkedIn, update the order like this:

<div class="sharethis-share-buttons" data-type="inline-share-buttons">
  <span data-network="twitter"></span>
  <span data-network="linkedin"></span>
  <span data-network="facebook"></span>
</div>

After this change, the Facebook button will appear after the LinkedIn button.

How do I remove one of my social network share buttons?

To remove a social network share button, delete the corresponding <span> element with the matching data-network attribute from the ShareThis button container <div>.

For example, if your buttons are defined like this:

<div class="sharethis-share-buttons" data-type="inline-share-buttons">
  <span data-network="facebook"></span>
  <span data-network="twitter"></span>
  <span data-network="linkedin"></span>
</div>

To remove the Facebook button, delete the <span> with data-network=”facebook”:

<div class="sharethis-share-buttons" data-type="inline-share-buttons">
  <span data-network="twitter"></span>
  <span data-network="linkedin"></span>
</div>

After removing the span, the Facebook share button will no longer appear on your website.

How do I change the size of my share buttons?

You can change the size of Inline Share Buttons by adding a data-size attribute to the ShareThis button container <div>.

There are three supported size values:

  • small (default)
  • medium
  • large

By default, inline share buttons use the small size.

Default container

<div class="sharethis-share-buttons" data-type="inline-share-buttons">

Example: setting the buttons to large

<div class="sharethis-share-buttons"
  data-type="inline-share-buttons"
  data-size="large">

After adding the data-size=”large” attribute, the inline share buttons will render in the large size.

The data-size attribute is only supported for inline share buttons.

How do I change the labels that show next to the social network icon in my share buttons?

You can change the labels shown next to each social network icon by adding a data-labels attribute to your share button container <div>.

This works for both inline share buttons and sticky share buttons.

There are three supported label options:

  • cta — shows a call-to-action label (for example: “Share”, “Tweet”)
  • counts — shows the share count next to each icon
  • none — hides labels and shows icons only

By default, share buttons use the cta label option.


Default container (inline or sticky)

<div class="sharethis-share-buttons" data-type="inline-share-buttons">

or

<div class="sharethis-share-buttons" data-type="sticky-share-buttons">

Example: showing share counts as labels

<div class="sharethis-share-buttons"
  data-type="inline-share-buttons"
  data-labels="counts">

Example: hiding labels (icons only)

<div class="sharethis-share-buttons"
  data-type="sticky-share-buttons"
  data-labels="none">

Important notes

Any unsupported value will fall back to the default behavior

The data-labels attribute applies to both inline and sticky share buttons

Only the values cta, counts, and none are supported

How do I show share counts next to my social network share buttons?

By default, ShareThis buttons do not display the total share count for the current page.

To enable the total share count, add the data-show_total=”true” attribute to your share button container <div>.

This works for both inline share buttons and sticky share buttons.


Default container

<div class="sharethis-share-buttons" data-type="inline-share-buttons">

or

<div class="sharethis-share-buttons" data-type="sticky-share-buttons">

Enable total share count

<div
  class="sharethis-share-buttons"
  data-type="inline-share-buttons"
  data-show_total="true">

Result

Once data-show_total=”true” is added, the total number of shares for the current page will appear next to your share buttons.


Important notes

If the attribute is omitted or set to false, the total share count will not be shown

This setting shows the combined total share count, not individual network counts

The attribute works for both inline and sticky share buttons

How do I change the alignment and move my sticky floating share buttons from the left to the right side?

By default, sticky share buttons float on the left side of the user’s browser window.

To move your sticky share buttons to the right side, add the data-alignment attribute to your share button container and set its value to “right”.

Note: This setting only applies to sticky share buttons.


Default container

<div class="sharethis-share-buttons" data-type="sticky-share-buttons">

Move buttons to the right side

<div
  class="sharethis-share-buttons"
  data-type="sticky-share-buttons"
  data-alignment="right">

Result

After adding data-alignment=”right”, your sticky share buttons will float on the right side of the browser window instead of the left.


Available alignment options

data-alignment="right"

data-alignment="left" (default)

Social Plugins

Our CMS plugins and apps make it easier to integrate our tools with your website.

Average User Rating


पटीर

जगदीश
2018-11-09

Awesome Tool

This helped me do things really fast
2018-11-15

An Excellent Widget!

Great tool, ShareThis! Thanks for inventing an awesome product to increase productivity in a fun and interactively interesting way. Keep the momentum going! Thanks!
2019-07-01

Great Tool

Best Service, Great Tool, it made my work so easy.
2019-09-03

Affiliate Marketer

To me Sharethis is one of my new favourite online tools. Creating share buttons for your blogs, landing pages and websites has never been easier! I 100% recommend for anyone that wants their connect shared online. And even better than that its completely free right now. 😍
2019-11-29

Awesome tool

https://sharethis.com/platform/share-buttons/
2020-07-17

Helpful application

Really, I meant it
2020-07-27

The best share tool on earth!

I tried a lot share tools from many developers, but to be honest ShareThis is much better and the one that works flawlessly. 1. The buttons looks great, simple and clean, we can customize it. And there's an option for 100% width to make it responsive on any screen size. 2. If you change the button options/settings on your account, the button on your website automatically updated. 3. The buttons doesn't blocked by Adblock, so it's increase the visibility on your website. Thank you ShareThis
2020-10-02

Easy implementation, top results

I give sharethis 5 stars. It was very easy to implement & my users love it. In the first month only, my articles got shared almost 40 times. I'd recommend it to everyone.
2021-11-24

Fantastic Tool

So easy to add code to display share buttons on my website.
2021-11-28

New Year 2022

5star
2022-01-19

Great Easy to Use Tool

I've had my blog for over a year now and for some reason, it just didn't look 'official' yet, until I got sharethis! With sharethis on my blog I feel more legit and it's easier for people to share my blog posts to others which expands the reach of my blog! Yay!! Thank you so much, sharethis!
2022-02-06

Great tool

So simple to use
2022-04-08

Great tool!

Easy to implement, easy to understand, very straightforward process overall!
2022-07-27

Love it!

So easy to set up and love the customization options!
2022-09-01

Love it!