# Share Link Shortener

**URL:** https://meta.discourse.org/t/share-link-shortener/251965
**Category:** Theme component
**Tags:** official, share-link-shortener
**Created:** [January 16, 2023, 10:38pm UTC](https://meta.discourse.org/t/share-link-shortener/251965 "2023-01-16T22:38:47Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [January 16, 2023, 10:38pm UTC](https://meta.discourse.org/t/share-link-shortener/251965/1 "2023-01-16T22:38:47Z")

</div>

| | | |
| --- | --- | --- |
| :discourse2: | **Summary** | **Share Link Shortener** adds a checkbox in the share link modal that replaces the share link with a shorter version containing only the IDs of the topic and post. |
| 👓 | **Preview** | [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/share-link-shortener) |
| 🛠 | **Repository** | [https://github.com/discourse/discourse-share-link-shortener/](https://github.com/discourse/discourse-share-link-shortener/) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

> [@](#):
>
> :discourse2: As this is an #official theme component maintained by the Discourse team, #Support, #Contribute > Bug, #Contribute > UX, and #Contribute > Feature requests can be made in the respective categories here on Meta, and tagged with the appropriate theme component tag. Click on a link below to get one started. 👍
> 
> [❓&nbsp; **Support**](https://meta.discourse.org/new-topic?category_id=6&tags=share-link-shortener "Ask for support on configuring and using Share Link Shortener") [🐛&nbsp; **Bug**](https://meta.discourse.org/new-topic?category_id=1&tags=share-link-shortener "A bug report means something is broken, preventing normal/typical use of the theme component") [👀&nbsp; **UX**](https://meta.discourse.org/new-topic?category_id=9&tags=share-link-shortener "Discussion about the user interface of Share Link Shortener, and how features are presented (including language and UI elements)") [💡&nbsp; **Feature**](https://meta.discourse.org/new-topic?category_id=2&tags=share-link-shortener "Discussion about how existing Share Link Shortener features can be improved or enhanced, and how proposed new features could work")

### Features

This theme component is especially useful when sharing Discourse links on platforms that limit the maximum number of characters in a message, like Twitter or Mastodon.

### Screenshots & video

 ![Short link off](https://global.discourse-cdn.com/meta/original/4X/f/4/0/f409409b12d1f0cbd712d624f414f41e13cfef54.png)

 ![Short link on](https://global.discourse-cdn.com/meta/original/4X/9/d/1/9d16d03055e4c1d59ce6f316fe87d83cb3603c19.png)

In action:

### Settings

| Name | Description |
| --- | --- |
| remember preference | Remember if the user prefers shorter links using their browser’s local storage. |

| Translation | Defualt |
| --- | --- |
| short\_link\_label | Short link |

### Development History

ℹ This feature was requested here: [Post Sharing - ability to convert the URL to the short version](https://meta.discourse.org/t/post-sharing-ability-to-convert-the-url-to-the-short-version/251763)

  

> :discourse2: **Hosted by us?** Theme components are available to use on our Standard, Business, and Enterprise plans.

> Last edited by @JammyDodger 2024-06-15T11:37:35Z
> 
> > **Check document**
> >
> > Perform check on document:

---

_[View the full topic](https://meta.discourse.org/t/share-link-shortener/251965)._
