How to export links from your free Bitly account.

How to export bitly links

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.

The steps:

  1. Log into your Bitly account.
  2. Click on this link: https://bitly.com/a/oauth_apps
  3. Confirm your password, then click Generate Token.
    Bitly Generate Access Token screenshot

  4. Once the token is generated, replace “ACCESS_TOKEN” with the code you just generated in the below link:
    https://api-ssl.bitly.com/v3/user/link_history?access_token=ACCESS_TOKEN&format=xml&limit=100
  5. Copy the entire link, then paste it into your favorite web browser.
  6. You’ll see a list that in XML format which will include all of your link information.  
  7. Save the page onto your desktop and make sure the file ends in .xml (such as filename.xml).
  8. Open up Microsoft Excel or OpenOffice Calc.
  9. Go to the File menu and choose Open.
  10. Find the file you just saved.
  11. For Excel, a prompt will pop up asking you what you’d like to do, select “As an XML Table.”
    Excel XML Table screenshot

  12. Another window may also pop up letting you know it is creating the table structure. Click OK.
    Create XML Schema

  13. You’ll now have a shiny new table showing you all of your Bitly link information.
  14. Save the new spreadsheet in any format that you’d like, depending on your needs (generally CSV is the default for most import programs).

Additional notes:

  • 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, 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, 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.
  • 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!

 



Contact Geniuslink!



Share this: