Advanced YouTube Search: Filters, Sorting & Export (Free)
Quick answer (TL;DR): There are three ways to run an advanced YouTube search. Method 1: a dedicated browser tool such as The YouTube Tool advanced search — category picker, include/exclude Shorts, exact phrase match, phrase exclusion, date/duration/language filters, CSV export, and transcripts. Method 2: YouTube.com — search bar operators (
-shorts,"quotes",OR) plus the Filters menu or comma shortcuts (, long,, week). Method 3: the YouTube Data APIsearch.listendpoint for scripts and scheduled jobs.
Methods 1 and 2 need no API key. Method 3 needs a Google Cloud project and code.
Three ways to search YouTube with advanced filters
| Dedicated search tool | YouTube.com | YouTube Data API | |
|---|---|---|---|
| When to use | Filtered research lists, CSV export, inline transcripts | Narrowing results while you browse | Automation, dashboards, scheduled searches |
| Setup | None | None | Google Cloud project + API key or OAuth + code |
| Category filter | Yes | No | videoCategoryId |
| Include / exclude Shorts | Yes | Partial (-shorts, Type → Videos) | Partial (duration, q operators) |
| Export results | CSV from the UI | Manual copy-paste | Build your own export |
Method 1: Advanced YouTube search with a dedicated browser tool
Several third-party sites offer a no-code advanced YouTube search page that calls the official API behind the scenes. The YouTube Tool advanced search is one example: it combines query precision (exact phrases, excluded phrases, Shorts control) and metadata filters (category, date, duration, language) on one screen, with sort, CSV export, and inline transcripts.
Results are served through the YouTube Data API search.list endpoint — titles, channels, and dates match YouTube's index, not a fragile HTML scrape.

What a dedicated search tool typically offers
| Control | What it does |
|---|---|
| Search query | Keyword or topic — same starting point as YouTube's search bar |
| Exact phrase match | Lock results to an exact multi-word phrase (not loose keyword matching) |
| Phrase exclusion | Drop results that contain specific words or phrases you do not want |
| Include / exclude Shorts | Show only Shorts, hide Shorts, or leave Shorts unfiltered |
| Category | Search inside one YouTube video category (Education, Gaming, News, etc.) |
| Date published | Presets or a custom published-after date |
| Video duration | Shorts bucket, medium (roughly 4–20 min), or long-form (20+ min) |
| Language | Filter by declared audio/caption language in YouTube metadata |
| Result count | How many videos to return per search |
| Sort | By title, channel, or publish date |
| Export CSV | Spreadsheet with title, channel, publish date, and URL |
| Get Transcript | Inline transcript on any result row |
Step 1 — Set your query (keywords, exact phrase, exclusions)
- Type your main search terms in the Search term box — e.g.
SaaS marketing,kubernetes interview, orclimate policy. - Exact term — when the words must stay together, enter the phrase in the exact-term field ("Must include exact phrase"). The search runs on that literal phrase in YouTube's index instead of treating each word as a separate loose suggestion. Use this for titles, talk names, error strings, or quotes you are tracing:
product launch keynotecognitive behavioral therapyerror 0x80070005
- Exclude term — add words or phrases in the exclude field ("Exclude videos with…"). Each exclusion removes videos whose metadata matches that text — the same idea as typing
-shortsor-clipin Method 2, but without memorizing operators. Stack several exclusions in one search:- Exclude noise:
shorts,clip,reaction,trailer - Exclude wrong intent:
beginner,kids,gaming - Exclude a product line:
iphone 16when you only wantapple eventcoverage
- Exclude noise:
You do not need to wrap phrases in quotes or prefix minus signs yourself — the interface applies exact match and exclusion rules to the API query.
Step 2 — Apply YouTube search filters
| Filter | What it does |
|---|---|
| Category | Restrict results to videos YouTube tagged in a specific video category — e.g. Education (lectures, courses), Science & Technology, Howto & Style (tutorials), Gaming, News & Politics, Music, Sports, Travel & Events. Pick Any category to search across all types. Category is metadata from upload settings, not whatever YouTube thinks the topic is. |
| Shorts | Include Shorts only, exclude Shorts, or any (no Shorts filter). This is clearer than hoping duration buckets hide vertical clips. Pair with duration when you want "long-form only, no Shorts." |
| Date published | Last 24 hours, week, month, year, or a custom published-after date |
| Video duration | Short (<4 min), medium (4–20 min), or long-form (20+ min) |
| Language | English, Spanish, French, German, Japanese, and more — uses each video's declared audio/caption language |
| Result count | Cap how many videos load in one run |
Example combinations
| Goal | Settings |
|---|---|
| Recent long-form tutorials, no Shorts | Query: python asyncio · Exclude: beginner · Shorts: Exclude · Duration: Long · Category: Education · Date: This month |
| Exact launch phrase, no clips | Exact phrase: Series B announcement · Exclude: shorts, clip, reaction · Shorts: Exclude · Category: News & Politics |
| Shorts-only trend scan | Query: AI tools · Shorts: Include only · Date: This week |
Language and category filters use YouTube metadata. Videos missing a language or category tag may drop out when those filters are set — that is a data gap on YouTube's side, not a UI bug.
Step 3 — Sort, export, or pull transcripts
After results load:
- Sort by title, channel, or publish date.
- Select rows and click Export CSV for a spreadsheet (title, channel, publish date, video URL) — ready for Sheets, Notion, Airtable, or a CRM.
- Click Get Transcript on any row for inline text. For dedicated transcript downloads (TXT, SRT, VTT), see a YouTube transcript downloader. To summarize a long result, use an AI YouTube video summarizer.
Browser tool vs YouTube search bar
YouTube's UI relies on memorizing "quotes", -minus, comma shortcuts, and filter chips — and it does not export to CSV. A dedicated search page puts exact phrase, phrase exclusion, category, and include/exclude Shorts behind labeled controls, then adds sort, export, and transcripts on the same screen. The Data API (Method 3) offers the same levers in code; a browser tool offers them without an API key or script.
Method 2: Advanced YouTube search on YouTube.com
YouTube does not publish a full "advanced search" page like Google, but you can still run a precise search by combining query operators in the search bar, comma shortcuts, and the Filters menu on the results page.
Map: where to click on YouTube (desktop and mobile)
Use this path every time you want YouTube search filters without leaving the site.
Desktop
- Search — type your query in the top search bar and press Enter.
- Prioritize — on the results page, open the Prioritize menu (formerly "Sort by"). Choose Relevance (match quality) or Popularity (engagement-weighted ranking; formerly tied to view count).
- Quick type chip — YouTube also surfaces a Videos chip on results (2026 update). Selecting Videos hides Shorts for that search.
- Filters — click Filters (top-right of results) to open the full panel:
- Upload date — Today, This week, This month, This year (note: "Last hour" and "Sort by rating" were removed in recent UI updates)
- Type — Videos, Shorts, Channels, Playlists, Movies
- Duration — Under 4 minutes, 4–20 minutes, Over 20 minutes
- Features — Live, 4K, HD, Subtitles/CC, Creative Commons, Location, and more
- Channel search — open a channel → use that channel's search box to query only inside that creator's uploads.
Mobile
- Search from the top bar.
- Tap the three-dot menu (top-right on results) → Search filters.
- Pick the same categories: upload date, type, duration, features, and prioritize order.
Filters apply to that search only. Start a new search or leave the page and the filter resets — there is no global "always hide Shorts" setting in the official app (ghacks).
Search bar operators (type these in the query box)
These work inside the YouTube search bar before you hit Enter. They change how YouTube interprets your words. They are hints, not strict database rules — YouTube may still surface close variants.
| Operator | Syntax | What it does | Example |
|---|---|---|---|
| Exact phrase | "phrase" | Prioritizes videos where the exact words appear together in title, description, or captions | "product launch keynote" |
| Exclude word | -word | Removes results containing that word (no space after -) | python tutorial -beginner |
| Exclude phrase | -"phrase" | Removes results containing that phrase | apple event -"iphone 16" |
| Either term | OR (capitalized) | Matches videos with either term | "machine learning" OR "deep learning" |
| Title only | intitle:"phrase" | Restricts matching to the video title | intitle:"introduction to psychology" |
Per Google's search operator rules, the minus sign must touch the word: -shorts works; - shorts may not.
Stack operators in one query when results are noisy:
"behavioral economics" lecture -shorts -clip -reaction
intitle:"constitutional law" seminar OR lecture -shorts
Exclude Shorts (and other noise)
Shorts dominate many queries. Layer these approaches:
| Technique | How |
|---|---|
| Minus operator | Add -shorts (and often -short, -clip, -clips) to the query |
| Type filter | Filters → Type → Videos, or tap the Videos chip on results (2026) |
| Duration filter | Filters → Duration → 4–20 minutes or Over 20 minutes (excludes most Shorts, but also hides legit short videos under 4 minutes) |
| Comma shortcut | , long in the search bar (videos over ~20 minutes) |
Example query that chases long-form only:
"customer interview" -shorts -clip, long
Comma shortcuts (filters typed in the search bar)
YouTube accepts a comma after your query, then a filter keyword — a faster alternative to opening the Filters menu. Chain multiple commas in one line.
Syntax: [your query], [keyword], [keyword]
| Keyword | Effect |
|---|---|
, today / , week / , month / , year | Upload date window |
, short | Under ~3 minutes |
, long | Over ~20 minutes |
, channel | Surfaces channels for the topic |
, playlist | Surfaces playlists (full courses, series) |
, HD | HD videos |
, CC | Videos with captions (often means a transcript exists) |
, creative commons | CC-licensed uploads |
Examples
quantum physics, month, long, HD
"climate policy", week
woodworking, playlist
"open source software", creative commons
Comma shortcuts do not cover every Filters menu option (Live, 4K, Location, etc.) — open Filters for those.
When to use operators vs the Filters menu
- Operators (
"quotes",-minus,OR,intitle:) — control words and topics in the index. - Filters menu — control metadata: publish window, format type, duration buckets, captions, resolution, Creative Commons.
- Comma shortcuts — same metadata filters without opening the menu.
For a single quick watch session, operators + one filter click is usually enough. For a shareable research list, a browser search tool with CSV export avoids copy-paste. For nightly jobs or a product backend, Method 3 is the path.
Method 3: Advanced YouTube search with the YouTube Data API
The YouTube Data API search.list method is the server-side version of advanced search. Every filter in Method 1 maps to an API parameter. Method 2's UI filters are a subset of what the API exposes.
Use Method 3 when you need to:
- Run the same filtered search on a schedule (daily trend watch, competitor upload alerts).
- Pipe results into a database, dashboard, or app.
- Combine search with other API calls (channel stats, captions, comment threads) in one pipeline.
- Search inside one channel at scale with
channelId.
For a one-off filtered list with CSV export, a browser search tool (Method 1) or a short script (Method 3) both work — pick based on whether you want a UI or full control.
Setup (one-time)
- Create a project in Google Cloud Console.
- Enable YouTube Data API v3 for that project.
- Create credentials — an API key for read-only public search, or OAuth 2.0 if you need
forMine(search only your uploads) or partner features. - Call
GET https://www.googleapis.com/youtube/v3/searchwith your key or token.
Google's getting started guide walks through each step. Respect the default 10,000 quota units per day per project (quota costs); search.list bills against your Search Queries bucket.
API parameters ↔ YouTube search filters
Set part=snippet on every request. For video-only research, always add type=video.
| What you want | API parameter | Values / notes |
|---|---|---|
| Keyword query | q | Free text; supports - (NOT) and | (OR). Exact-match and exclusion UI fields map here |
| Category | videoCategoryId | Numeric ID with type=video — e.g. 27 Education, 28 Science & Technology (category list) |
| Videos only | type | video (also channel, playlist, or comma-separated) |
| Published after | publishedAfter | RFC 3339 datetime, e.g. 2026-01-01T00:00:00Z |
| Published before | publishedBefore | RFC 3339 datetime |
| Duration | videoDuration | short (<4 min), medium (4–20 min), long (>20 min) — no separate "Shorts" enum; use medium or long to skip most Shorts |
| Language bias | relevanceLanguage | ISO 639-1 code, e.g. en, es, de |
| Sort order | order | relevance, date, viewCount, rating, title |
| Captions required | videoCaption | closedCaption (with type=video) |
| HD only | videoDefinition | high (with type=video) |
| Creative Commons | videoLicense | creativeCommon (with type=video) |
| Live / upcoming | eventType | live, completed, upcoming (with type=video) |
| One channel | channelId | Channel ID; max ~500 video results per channel search |
| Region | regionCode | ISO country code, e.g. US |
| Page size | maxResults | 1–50 per request (default 5) |
| Next page | pageToken | From nextPageToken in the previous response |
search.list returns IDs and snippets (title, description, channel, publish time). View counts, duration in seconds, and full metadata require a follow-up videos.list call on the video IDs.
Example: filtered search (curl)
Long-form English product demos published after a launch date, excluding "shorts" in the query text:
curl -G "https://www.googleapis.com/youtube/v3/search" \
--data-urlencode "part=snippet" \
--data-urlencode "type=video" \
--data-urlencode "q=product demo -shorts -clip" \
--data-urlencode "videoDuration=long" \
--data-urlencode "relevanceLanguage=en" \
--data-urlencode "publishedAfter=2026-05-01T00:00:00Z" \
--data-urlencode "order=date" \
--data-urlencode "maxResults=25" \
--data-urlencode "key=YOUR_API_KEY"
Query operators in q (API syntax)
The API documents Boolean logic in the q string itself (search.list reference):
| Intent | API q syntax | Example |
|---|---|---|
| Either term | | (OR) | machine learning|deep learning |
| Exclude term | - prefix | tutorial -beginner |
| Combine | Stack operators | kubernetes interview -shorts -clip |
This is parallel to Method 2's search bar, but the API uses pipe for OR (|), not the word OR. URL-encode | as %7C in GET requests.
There is no intitle: parameter — narrow to titles by putting the phrase in q and accepting relevance ranking, or post-filter results in your code.
Pagination and limits
- Each response returns up to 50 items (
maxResults). - Use
nextPageTokenuntil it is empty. pageInfo.totalResultsis approximate and capped at 1,000,000 — do not build pagination from that number alone.- Channel-scoped searches (
channelId+type=video) return at most 500 videos.
Quick pick
| Need | Approach |
|---|---|
| Filtered list + CSV, no code | Dedicated search tool — e.g. advanced search on The YouTube Tool |
| Watch the next video on YouTube | Method 2 — operators + Filters menu |
| Cron job, internal tool, or app backend | Method 3 — Data API |
| Transcripts after search | Inline on some search tools, or API captions.list / a transcript downloader |
Browser search tools are essentially hosted front-ends for the same search.list calls Method 3 uses — without managing keys, quota, or JSON parsing yourself.
Which method should you use?
Method 1 — dedicated browser search tool (e.g. The YouTube Tool advanced search) when you want category filtering, include/exclude Shorts, exact phrase match, phrase exclusion, custom publish dates, language filtering, CSV export, or inline transcripts — without an API key or operator syntax.
Method 2 — YouTube search bar + Filters when you are already on YouTube and only need to narrow what you watch next.
Method 3 — YouTube Data API when you are building software: scheduled searches, custom dashboards, channel monitors, or pipelines that must run without a UI.
All three should respect YouTube's Terms of Service — use public data for research, do not spam creators with exported lists, and do not republish someone's metadata as your own.