If you have a free Bitly account and have tried exporting your list of links, you’ve probably noticed that Bitly doesn’t provide an easy way to do it. Unfortunately, that makes it really tough to do things like see a full list of all of your short links, or see the original URLs behind them without clicking on each one at a time. Also, if you want to move off of their platform, it’s nearly impossible to do so without completely starting over, and risking breaking all of your previously built links!
Luckily, no matter what your reasoning is for doing so, there’s a workaround to export your links to do with as you please.
- Log into your Bitly account.
- Click on this link: https://bitly.com/a/oauth_apps
- Confirm your password, then click Generate Token.
- Once the token is generated, replace “ACCESS_TOKEN” with the code you just generated in the below link:
- Copy the entire link, then paste it into your favorite web browser.
- You’ll see a list that in XML format which will include all of your link information.
- Save the page onto your desktop and make sure the file ends in .xml (such as filename.xml).
- Open up Microsoft Excel or OpenOffice Calc.
- Go to the File menu and choose Open.
- Find the file you just saved.
- For Excel, a prompt will pop up asking you what you’d like to do, select “As an XML Table.”
- Another window may also pop up letting you know it is creating the table structure. Click OK.
- You’ll now have a shiny new table showing you all of your Bitly link information.
- Save the new spreadsheet in any format that you’d like, depending on your needs (generally CSV is the default for most import programs).
- This how-to is for informational purposes only. Please use at your own risk! It’s your responsibility to make sure that what you do with Bitly’s API and your links follows Bitly’s Terms of Service and usage guidelines.
- If you’re using a Custom Domain<span style=”font-weight: 400;”>, there’s an additional “link” column that shows the shortened bitlink with your domain on top. The “aggregate_link” column shows you the Bitly URL that your custom domain points to.
- Using the Bitly API allows you to pull up to 100 links at a time<span style=”font-weight: 400;”>, and will pull the 100 most recent first. If you have more than 100 links in your account, you can add the “created_before” and “created_after” parameters to your link to pull older links.
- You’ll want to use http://www.unixtimestamp.com/index.php to convert the normal date/time format into “Unix” first, then add the unix timestamp within the URL.
- Example: If I want to pull all links created after October 15, 2015 I’d add the created_after option and include the Unix Timestap from the site listed above:
- If you want to play around with exporting other information, bitly’s developer console is extremely helpful.
Looking for a different URL shortener?
Are you using a custom domain through Bitly, but looking to use a different service for your short links? Did you know you can take your domain with you and keep all of those links working? Reach out and we can walk you through how!