You don't need to use link shorteners on Mastodon!

All links on Mastodon count as 23 characters towards your post limit, no matter how long the links actually are.

Link shortener services like bit.ly, t.co etc track users who click on their links. This is really bad for privacy. If you use link shorteners on Mastodon, people may assume you are just doing it for tracking purposes.

More info at https://fedi.tips/you-dont-need-link-shorteners-on-mastodon

You don’t need link shorteners on Mastodon | Fedi.Tips – An Unofficial Guide to Mastodon and the Fediverse

An unofficial guide to using Mastodon and the Fediverse

p.s. Just been pointed out that the official iOS app has a bug which causes links to be more than 23 characters. You can avoid this bug by using a third party iOS app such as Toot! or Ice Cubes or Ivory, or by logging in on your server's website.
@feditips i use the tusker mastodon ios app :)
@feditips thanks for the heads up!👍🏼
@feditips - Ice Cubes is vastly superior to the official iOS app in every way anyway.
@feditips metatext is pretty good for iOS too imo
What about reddit link shorteners like https://redd.it/asdf?

@Deus @feditips Shrug, they still count as 23 characters?

There is no reason to use a shortener ⇾ so all links, even if they are shorter than 23 characters, need to count the same (or there would still be a reason to use a shortener).

@feditips Additional downside of link shorteners: If they go offline (temporarily or permanently), you can’t use their links.
@feditips Yep, good points. But I wouldn't mind of masto could allow real hyper-linking so I could post URLs-- to keywords or other content without burning 24 rendered chars to do it. Yes, it would need malware filtering, but that's pretty standard art today.
Don’t cry I’m just a fish 😔🖐

YouTube

@freeplay @feditips

I'm aware. But they are still a very distant minority of users. That's the problem with people always talking about if not glorifying Mastodon, when ActivityPub/the Fediverse is where the focus of our attention really should be.

@feditips
Or that they don't know that is a feature of mastodon. I have been on here for four years and did not know that.

@feditips
Heh, I wouldn't discount the use of goodwill shorteners like #Envs for badly formed URLs, as an exception. Although, when you copy from address bar, browsers would make sure to make link compatible with standard, so it's pretty rare you'd ever end up with such a URL.

I had to use URL shortener yesterday to satisfy Youtube's parsing of my Matrix.to channel link. But parser on Mastodon is OK.

@feditips There are many reasons to use link shorteners besides tracking. Some people use software that can post to multiple social profiles, some of which may not treat links the way Mastodon does. Others may need to provide a link frequently, and a short URL is easier to type and clearer about its purpose than the real URL (e.g. John Hodgman is notorious for making bit.ly links for everything, especially tickets for live shows). Please don't vilify people with generalizations.
@feditips Also, and I can't believe I have to say this to an account called "Fedi.Tips", Mastodon is not the only software on the fediverse. Not every ActivityPub integration has to treat links the same way. Just because you're using Mastodon doesn't mean the author of the post is.

@eagerpebble @feditips

You've just listed cases of short-links being used, not legitimate reasons to do so. Besides it's a fact that analytics is the most common purpose for such links.

If you redirect in order to provide more descriptive or permanent links, then there is no reason to rely on tracking services with privacy-unfriendly terms of service.

But even then it remains a bad practice security-wise.

@eagerpebble @feditips Fully agree. The original post is an oversimplification. I use link shorteners to make the link memorable, so people can remember it and share it via a range of channels. This is very important for effective advocacy/activism.

If there’s one thing that’s going to doom Mastodon, it’s the preachy tendency of some to think there’s only one right way to do things.

@JonathanMosen @[email protected] You should see the mentions-only thread Fedi.Tips used to argue with me about this. Useful account to blocked in under an hour.
@feditips That's false in one particular instance, and that is the personal URL shortener, which is not used for tracking purposes, but for the purposes of stamping your identity onto your posts; I use as my own personal short domain, cp90.us, and anything posted which links to my blog will use that. The plugin for Wordpress for Fediverse posting supports it, for God's sake.
@feditips this is really important information! A lot of people don’t understand what’s wrong with link shorteners…

@to3k @feditips

yes, but you can also use your own like shlink.

@taste @feditips Sure! Self hosted solutions are always the best options 😉
@feditips whoa didn't know that. Good to know.
@feditips ooh thanks for the tip did not know this... not like shadow uses any url shorterners anyways but spreading the info is very helpful
@feditips what about other platforms in the fediverse?
@feditips I always think of them as phishing attempts.
@feditips the official mastodon app also limits you to a character count of 500 even if you mastodon instance character limit is higher then that. For example my personally mastodon instance has a character limit of 20,000.
@Spellbind0127 @feditips what happens to posts that go over 500?
@thevballdude @feditips your are able to see post that are over 500 characters long you just can't post them.
@feditips @aishasie it baffles me how many people kept using them on twitter after they made urls count as a fixed length. It’s annoying to create them and annoying to use them because they obscure the target (and add tracking).
@feditips Is there a reason for 23 specifically (as opposed to, say, 10 or 15?)
@thevballdude @feditips probably because that's what it is on Twitter. The difference being that in Mastodon links shorter than that also count as 23, to disincentivize click trackers.

@feditips but why 23?

I can understand like 11 or so.

@feditips
Seems like any link works, e. g. https://youtube.com/?q=I%27d%20just%20like%20to%20interject%20for%20a%20moment.%20What%20you%27re%20referring%20to%20as%20Linux%2C%20is%20in%20fact%2C%20GNUeleifend.%20Ornare%20aenean%20euismod%20elementum%20nisi.%20Tortor%20consequat%20id%20porta%20nibh%20venenatis%20cras%20sed%20felis.%20Morbi%20tincidunt%20ornare%20massa%20eget%20egestas%20purus%20viverra%20accumsan%20in.%20A%20arcu%20cursus%20vitae%20congue.%20Senectus%20et%20netus%20et%20malesuada.%20Non%20tellus%20orci%20ac%20auctor%20augue.%20Aliquam%20ultrices%20sagittis%20orci%20a%20scelerisque%20purus%20semper%20eget%20duis.%20Lorem%20donec%20massa%20sapien%20faucibus%20et.%20Vitae%20purus%20faucibus%20ornare%20suspendisse%20sed%20nisi%20lacus.%20Eu%20turpis%20egestas%20pretium%20aenean%20pharetra%20magna.%20Nunc%20mi%20ipsum%20faucibus%20vitae%20aliquet%20nec.%20Leo%20a%20diam%20sollicitudin%20tempor%20id%20semper%20risus.%20Mattis%20ullamcorper%20velit%20sed%20ullamcorper%20morbi%20tincidunt.%20Etiam%20tempor%20orci%20eu%20lobortis%20elementum%20nibh%20tellus%20molestie.%20Consequat%20mauris%20nunc%20congue%20nisi%20vitae%20suscipit%20tellus%20mauris.%20Maecenas%20sed%20enim%20ut%20sem%20viverra%20aliquet.%20At%20tempor%20commodo%20ullamcorper%20a%20lacus%20vestibulum.%20Nunc%20pulvinar%20sapien%20et%20ligula%20ullamcorper.%20Ornare%20massa%20eget%20egestas%20purus%20viverra%20accumsan%20in%20nisl%20nisi.%20Varius%20duis%20at%20consectetur%20lorem%20donec%20massa%20sapien%20fauc

Ok, really works #characters

YouTube

Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

@feditips

The security-risk angle of link shorteners hadn't even occured to me, but I'm glad to see confirmation like this that they're NOT necessary. Thank you for posting this up!

@feditips that’s really good to know!

@feditips And while they are only visually 23 characters, they are read in full by screen readers so actually suck

the raw link situation on mastodon is one of the worst parts of it and i hate seeing it touted as having "removed any practical use" for link shorteners, when actually, it "removed any practical use for link shorteners i personally think exist"

@deilann @feditips
wow.
what's the best way to post a link?
i can't imagine having to sit through some of the whopper links I've posted! yikes

@Lachesis

my personal preference is having plain text context of the link given before a warning a raw link follows

so, something like

the wikipedia page for HTML (raw link) https://en.wikipedia.org/wiki/HTML

but there's no clean solution at all without hyperlinks

@feditips

HTML - Wikipedia

@deilann @feditips
i did not know "raw link" was a term.
looking THAT up led me to a place of still more arcane terminology!
but again, i thank you for the guideline. it's like alt text for links.

@Lachesis there is actually an similar attribute for hyperlinks and it’s super helpful when used but rarely is - it can add more context to the reason for the link and what to expect when taking it beyond the destination

it's the "title" attribute for <a> (needed to verify)

my screenreader is set to a priority of title -> hyperlinked text -> URL and chooses the highest priority on the list that exists
@feditips

@deilann @feditips
...explain it like it's tomorrow morning, the sun is shining, & we've both had our coffee.

seriously though. I'll learn more tomorrow...
(imaginary emoji of early bird)

@Lachesis

this standards page should give you an idea of what I mean (raw link follows) https://www.w3.org/TR/WCAG20-TECHS/H33.html

@feditips

H33: Supplementing link text with the title attribute | Techniques for WCAG 2.0

@Lachesis

i can skip to text after the link, so I don't have to sit and listen to the whole thing, but it's a pain because I often prefer being able to have typing not interrupt reading and I have to swap to browse macros to do that and can't keep working

so it's not as catastrophic as something like leet speak which is just horrible noise out of left field

@feditips

@deilann @feditips
so i had to look up leet-speak, & ended up reading somebody's pretty-good master's thesis, a linguistic analysis of lol-speak.
thanks for the info!
@feditips even if the link is less than 23 characters?

@feditips Another reason not to use link shorteners is that they completely obscure the actual destination of the link. A link like:

https://nationalpost.com/news/russian-billionaire-couple-claims-canadian-sanctions-are-unjustified-and-unreasonable

... actually tells you something about what it's going to take you to. The shortened equivalent:

https://bit.ly/3mCnrDQ

... tells you nothing whatsoever. Might be a phishing site. Or malware. Or a booby-trapped document. Or a spam site.

Don't use link shorteners, anywhere.

Russian billionaire couple claims Canadian sanctions are unjustified and unreasonable

The couple claim the Canadian government has failed to provide them with any evidence to justify their inclusion on the list

National Post
@feditips Thanks. I was reminded about this when I started using Mastodon and it's been a huge time saver.
@feditips never cared for shortening links, but this is really cool to know!
@feditips Thanks for that info! I have to wonder why they chose 23 characters though. 😆