Bulk Shorten URLs From a Spreadsheet: CSV vs Formulas
Got a column of 200 long links in Google Sheets or Excel? Here are the three honest ways to bulk-shorten them, and why a raw =HYPERLINK tracks nothing.

Why a Spreadsheet of Long URLs Is a Tracking Time Bomb
You have a column of 200 long URLs sitting in Google Sheets: affiliate Flipkart and Shopee product links, a batch of campaign landing pages, or an ops team's list of vendor redirects. Dropping =HYPERLINK next to each row feels like a fix. It is not. That formula only makes text clickable inside the sheet, it dies the second the link is pasted into an Instagram caption or an email, and it counts exactly zero clicks. This guide walks you through three honest ways to bulk shorten URLs from a spreadsheet, and how to keep every one of them branded, trackable, and safe.
The =HYPERLINK trap
The built-in =HYPERLINK(url, label) function is a display trick. It wraps a cell in a clickable label, but the destination is still the raw, hundred-character URL underneath. There is no redirect layer, so you can never change where it points, you get no click data, and you cannot attach a pixel or a custom domain after the fact. Many marketers assume Sheets has a native shorten function. It does not. The =SHORTURL style formulas people half-remember all leaned on Google's own service.
Why the goo.gl era is over
Google retired its URL Shortener for good: the company confirmed that goo.gl links would stop resolving in August 2025, and Firebase Dynamic Links went with it. Any legacy add-on or script that quietly called goo.gl is now dead weight. So the real question is not which Sheets function to use, it is which of three modern paths fits your volume and skill: a CSV import, an Apps Script, or a REST API.
What trackable actually buys you
A proper short link is a redirect you own. That single layer unlocks click analytics (how many clicks, from where, on what device), the ability to swap a broken destination without reprinting anything, retargeting pixels, and a branded domain that lifts trust. If you have never measured link performance before, our primer on how to track clicks on a link explains why the redirect, not the cell, is where the data lives.
The Three Ways to Bulk-Shorten (and When Each Wins)
There is no magic Sheets button. Every real method falls into one of three buckets, and picking the wrong one wastes an afternoon. Here is the honest trade-off before we go deep on each.
The quick decision
- CSV import and export: paste or upload a column, get short links back as a downloadable file. Zero code, best for one-off batches of dozens to a few thousand.
- Apps Script and custom formula: a script inside your sheet calls a shorten endpoint per row. Repeatable and live, but bound by Google's fetch quotas and your patience.
- REST API: your own code (or a workflow tool) posts URLs to a shorten endpoint at volume. Highest ceiling, needs a developer.
Match the method to the job, not to the hype. A one-time export of 300 affiliate links does not need an API integration, and a nightly feed of 5,000 links should never run through a dragged-down formula.
Side by side
| Method | Best for | Realistic volume | Skill needed | Trackable |
|---|---|---|---|---|
| CSV import / export | One-off batches, non-technical teams | Dozens to a few thousand | None | Yes, full analytics |
| Apps Script / formula | Recurring sheets, light automation | Up to a few hundred per run | Basic scripting | Yes, if endpoint returns IDs |
| REST API | High volume, product feeds, pipelines | Thousands, continuous | Developer | Yes, plus webhooks |
Path A: No-Code CSV Import and Export
For most people reading this, the answer is Flyn's Import links. You already have the URLs in a grid, so you hand that grid to Flyn and get a matching column of short links back. No scripts, no tokens, no rate-limit math. (Shortening one destination into many links, rather than many destinations into one each? That is Create many.)
The five-minute workflow
- In Google Sheets or Excel, isolate one clean column of destination URLs.
- Copy the cells, or download the tab as a .csv file (File, then Download, then Comma-separated values).
- In Flyn, open Links, then Import links, and paste the cells or drop the file. It reads CSV, TSV or TXT files up to 20 MB, so save an .xlsx workbook as CSV first.
- Check how Flyn read your columns. Only the destination is required; a back-half, a title and tags are optional. UTMs are read only from the destination URLs, so add them there first.
- Read the preview, click Import, then click Download report (CSV). Its new_short_url column holds each new short link beside the row it came from, ready to paste back into your sheet.
Because each row becomes a genuine Flyn redirect, you inherit real-time analytics, QR codes, and the option to put the whole batch on your own custom domain. That is the difference between a spreadsheet of dead text and a campaign you can actually measure. The step-by-step guide has a screenshot of each step.
Paste from the header row down, or upload the whole tab as a CSV, and the report numbers each row the way your spreadsheet does, with the header as row 1, so a lookup on the row number or the destination puts every new short link back beside the URL it came from.
What is free, and what needs a paid plan
Uploading, the column review and the full preview are free on every plan. Running the import needs Pro, Lifetime or Team, and it has no per-upload row cap: Flyn creates the links up to 100 at a time with a progress bar, so keep the tab open until the results appear. On a free account, sign in and paste up to 10 URLs into the free Bulk URL Shortener, one batch a day; those links count toward the free plan's 25 links a month, and links made there without signing in expire after 24 hours. Pro is $12 a month, or $9 a month billed annually, and you can start free and preview your file before you pay.
Prep Your Spreadsheet So the Import Does Not Choke
Clean data imports cleanly. Five minutes of cleanup saves you re-running the whole batch. Treat the source column like a database field, not free text.
Clean the URL column first
- One URL per cell, no trailing spaces, no line breaks, no stray labels like Product 1.
- Make sure every value starts with
https://. A bareexample.comwill either fail validation or resolve somewhere you did not intend. - De-duplicate with Sheets' remove-duplicates before you export, so you do not mint two short links for the same destination.
- Strip messy tracking junk that is already on the URLs. Our URL cleaner flattens redirect chains and duplicate parameters so you shorten the real destination, not a wrapper.
Decide your columns up front
A good import CSV is more than one column. Add columns for a custom slug (keep them short and unique), a title for your dashboard, and tags so a 400-link batch stays navigable (folders are not imported: new links land under All Links). If you plan to add campaign parameters, add them to the destination URLs now, with the UTM builder, rather than editing links one by one later.
Do not shorten links you have not verified. Every destination Flyn creates is scanned with Google Safe Browsing, and a batch full of dead or flagged URLs can get individual links kill-switched. Run a quick pass with the safety checker on any URLs from an untrusted feed before you bulk-create.
Path B: The Apps Script and Custom-Formula Route
If your sheet is a living document that gains new URLs every week, a one-off CSV export gets tedious. This is where a small Google Apps Script earns its keep: you write a custom function like =SHORTEN(A2) that calls a shorten endpoint and writes the result back into the cell. It feels native, but it is really a script hitting an API behind the scenes.
How the pattern works
Inside Extensions, then Apps Script, you use UrlFetchApp.fetch() to POST each URL to your shortener and parse the short link out of the response. You can wire it to a cell formula, or add a custom menu button that loops down a column and shortens every row in sequence. It is genuinely handy for a sheet of a hundred rows that changes often.
With Flyn, the script sends POST /api/links once per row with an API key in the Authorization header and reads shortUrl from the response. You create API keys under Settings, API Keys on Pro, Lifetime or Team, and the request fields are documented under Links.
The caveats nobody mentions
The formula route hits two ceilings at once. First, Google's own quota: UrlFetchApp is capped at 20,000 fetch calls per day for consumer Gmail accounts and 100,000 for Workspace. Second, your shortener's rate limit, which throttles how many links you can mint per minute. Drag a live formula down 500 rows and you fire 500 simultaneous external requests, which trips one limit or the other.
A custom formula that fires hundreds of UrlFetchApp calls at once is not automation, it is a rate-limit incident waiting to happen. Add deliberate delays, or move to the API.
Cell formulas recalculate. A volatile =SHORTEN() can re-fire on every edit, minting duplicate links and burning quota. Use a menu-driven batch that writes static text back into the cell, never a live formula that recomputes.
Path C: The REST API for Real Volume
When you are shortening thousands of links, syncing a product feed, or wiring shortening into an internal tool, skip the spreadsheet gymnastics and call the API directly. This is the path for developers and ops teams who want a repeatable pipeline instead of a manual export.
The shape of a shorten call
On Flyn, each link is one authenticated POST /api/links: send your API key in the Authorization header and a JSON body with the long URL in url (and optionally a slug, domain or tags), and the 201 response carries the new link's shortUrl and id. The Links docs cover the request and the response, and the same resource lists, reads, updates and deletes your links. You create the API key once under Settings, API Keys, on Pro, Lifetime or Team, and the authentication docs show how to send it.
Batch it without getting throttled
Loop your spreadsheet rows, but respect the rate limits: add a short delay between calls, batch in chunks, and retry on a 429 with backoff. For a fuller walkthrough with code, our link shortener API guide shows the request and response end to end, and Pro accounts get a TypeScript SDK plus webhooks so a click can trigger your own systems. Pull click data back with the clicks endpoint to close the loop.
Add UTMs and a Branded Domain Before You Export
Shortening is step one. A batch of short links that all point at bare product pages with no campaign tags is a missed opportunity. Enrich the whole batch before it ships, not link by link afterward.
Tag the campaign with UTMs
UTM parameters are what let your analytics tell an Instagram batch from an email batch. Build a consistent set with the UTM builder and add it to the destination URLs in your CSV before you import (the importer does not read separate UTM columns), so every link carries the same source, medium, and campaign. If UTMs are new to you, the ultimate guide to UTM parameters covers naming conventions that keep reports clean, and the UTM parser helps you audit tags on links you inherited.
Put them on your own domain
A branded short domain tends to lift clicks: our breakdown of why branded short links increase CTR shows the trust gap between a generic shortener and your own name. Flyn Pro gives you up to three custom domains with automatic SSL, and you can apply one across an entire bulk import so all 300 links carry your brand. See branded short links for the full picture.
If different rows need different destinations by country or device, turn the batch into smart links with geo and device routing instead of maintaining separate columns per region.
Keep Every Batched Link Healthy and Trackable
A bulk batch is only as good as its worst link. When you mint hundreds at once, a few destinations will inevitably rot: a product goes out of stock, a landing page moves, a slug collides. Build a verification step into your workflow from day one.
Verify the batch, not just one link
Paste your exported short links into the bulk health checker to catch dead ends, redirect loops, and unexpected status codes across the whole set in one pass. For campaign-specific checks (are the UTMs intact, does the destination match the brief), the campaign URL QA checker runs a focused audit before you hit send. To look at the landing pages themselves, paste the destination column into the bulk URL opener and open them in tabs, a batch at a time.
Watch performance after launch
Once links are live, the point of doing this properly pays off. Your Flyn dashboard counts each link's clicks on every plan, and on Pro it breaks them down by country, city, device, browser and referrer. You can also compare batches by tag or folder. For affiliate sellers, pairing this with our affiliate link tracking guide turns a raw click count into an actual attribution story. And because links are redirects you own, you can fix a broken destination without touching the spreadsheet or the caption it lives in.
Stay off spam lists
Bulk-created links from a fresh domain can look suspicious to filters. Our notes on why short links get flagged as spam explain how a warmed custom domain and clean destinations keep your batch delivering instead of bouncing.
CSV vs Formula vs API: The Honest Verdict
Strip away the marketing and the choice is simple, because it maps to how often you do this and who is doing it.
Pick by frequency and skill
- One-off batch, non-technical: use Flyn's Import links: paste the column or drop the CSV, preview it free, and import on Pro, Lifetime or Team. It is the fastest path from a column of URLs to trackable short links, full stop.
- A recurring sheet, light scripting comfort: a menu-driven Apps Script is fine, as long as you respect fetch quotas and never use a live recalculating formula.
- Thousands of links or an automated pipeline: go straight to the REST API with proper rate-limit handling and webhooks.
What all three share, and what a bare =HYPERLINK can never give you, is a redirect you control: analytics, branding, safety scanning, and the freedom to change a destination after the fact. If you are weighing Flyn against another shortener's bulk tooling, compare them on the alternatives pages, or start with the core shortener and a free account.
Ready to shorten your first batch? Create a free Flyn account, drop your sheet into Import links and read the full preview for free, then run the import on Pro. Your spreadsheet of dead links is one import away from being a campaign you can actually measure.
Which Shorteners Actually Support Spreadsheet Work
The three paths above assume your shortener supports them. Several popular ones do not, and the limits are usually buried a plan or two deep rather than stated on the pricing page. We checked eight tools against their own documentation in August 2026, because this is the kind of detail that turns a five-minute job into an afternoon.
| Tool | CSV import | Cheapest plan with it | Official Sheets add-on | API on the free plan |
|---|---|---|---|---|
| Flyn | Yes, no row cap | Pro, $9/mo billed annually or $12 monthly | No, Apps Script | MCP on Free; API keys on paid plans |
| Bitly | Yes, 100 rows per upload | Growth, $29 to $35/mo | No, third party only | Yes, but 5 links/mo (50 in India, Indonesia and Bangladesh) |
| Rebrandly | Yes, very large files | Paid | Yes, official | Yes |
| Short.io | Yes, in the dashboard | Free | Yes, built in | Yes |
| Cuttly | Yes | Single, $25/mo | No, Zapier or Make | Yes |
| T.LY | Yes, Bulk Actions | Paid, no free tier | Listed "coming soon" | No free tier |
| Linkly | Yes | Paid | Analytics out, not links in | Yes |
| TinyURL | Not documented | n/a | No, Apps Script | Yes |
The 100-row cap is the one that catches people
Bitly is the default choice for most people, and it is the worst fit for spreadsheet work of anything in that table. CSV import is not on Free or Core, it starts on Growth, and even there each upload is capped at 100 rows. A 1,200-row campaign sheet is twelve separate uploads on a plan costing roughly $29 to $35 a month. If you have been putting off a bulk job because it felt tedious, that cap may be the actual reason.
Where the spreadsheet route pays off with Flyn
Our CSV import has no per-upload row cap, so the 1,200-row sheet is one upload rather than twelve, and it maps slug, title and tags in the same pass. The bigger difference arrives after the import: every row becomes a real link with bot-filtered click data and an AI-assistant channel, so a batch of 1,200 links does not turn into 1,200 rows of numbers you cannot trust. Volume is only worth having if the reporting underneath it is.
No Sheets add-on, and API keys on paid plans
Flyn has no Google Sheets add-on. A batch does not need one: copy the column, paste it into Import links, and paste the new_short_url column from the report back into your sheet. For a sheet that keeps gaining rows, Path B's menu-driven Apps Script calls Flyn's API once per row.
Flyn's API keys need Pro, Lifetime or Team, so the script in Path B and the API in Path C start on a paid plan. On a free account, the upload and full preview in Import links cost nothing, and the free Bulk URL Shortener takes 10 URLs per batch, one batch a day.
Whatever you pick, run a five-row test file first. Every tool in that table handles blank cells, stray spaces and duplicate slugs a little differently, and finding that out on five rows costs a minute instead of unpicking a 1,200-row mess.
Frequently Asked Questions
Is there a built-in function to shorten a URL in Google Sheets?
Why is =HYPERLINK not the same as a real short link?
How many URLs can I bulk-shorten from a CSV at once?
Can I use Google Apps Script to shorten links in a spreadsheet?
What is the difference between the CSV and API methods for bulk shortening?
Will bulk-shortened links still track clicks individually?
How do I add UTM parameters to a whole batch of links?
Are bulk-created short links safe, or will they get flagged as spam?
Free tools for this
Three Flyn tools that pair well with the strategy in this article, all free, no signup needed.
UTM Builder
Build campaign-tracked URLs in seconds.
Broken Link Checker
Scan any page for dead links and 404s.
Open Graph Checker
Preview how URLs unfurl on social.
Keep reading
Three related deep-dives from the Flyn blog.
Postback URL Tracking: How S2S Conversion Tracking Works
17 min read

The Anatomy of a URL: Every Part Explained in Detail
15 min read

301 vs 302 Redirect: When to Use Each
14 min read
Ready to try Flyn?
Free plan includes 25 links/month, full analytics, and access to all 30+ free tools above. No credit card required.
Already a member? Log in

Karan Bhakuni is the founder of Flyn. He writes about branded links, click analytics, and the link-management tooling growth teams and creators actually need, drawn from building Flyn and reading a lot of user feedback.
Find these guides useful? Add Flyn as a preferred source so more of them show up in your Google results.