June 19, 202614 min read

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 API search.list endpoint 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 toolYouTube.comYouTube Data API
When to useFiltered research lists, CSV export, inline transcriptsNarrowing results while you browseAutomation, dashboards, scheduled searches
SetupNoneNoneGoogle Cloud project + API key or OAuth + code
Category filterYesNovideoCategoryId
Include / exclude ShortsYesPartial (-shorts, Type → Videos)Partial (duration, q operators)
Export resultsCSV from the UIManual copy-pasteBuild 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.

Advanced YouTube search on The YouTube Tool: Search term, Exact term, and Exclude term fields, plus Results count, Published after, Duration, Language, Shorts, and Category filters, with a results table showing video, channel, publish date, and Get Transcript

What a dedicated search tool typically offers

ControlWhat it does
Search queryKeyword or topic — same starting point as YouTube's search bar
Exact phrase matchLock results to an exact multi-word phrase (not loose keyword matching)
Phrase exclusionDrop results that contain specific words or phrases you do not want
Include / exclude ShortsShow only Shorts, hide Shorts, or leave Shorts unfiltered
CategorySearch inside one YouTube video category (Education, Gaming, News, etc.)
Date publishedPresets or a custom published-after date
Video durationShorts bucket, medium (roughly 4–20 min), or long-form (20+ min)
LanguageFilter by declared audio/caption language in YouTube metadata
Result countHow many videos to return per search
SortBy title, channel, or publish date
Export CSVSpreadsheet with title, channel, publish date, and URL
Get TranscriptInline transcript on any result row

Step 1 — Set your query (keywords, exact phrase, exclusions)

  1. Type your main search terms in the Search term box — e.g. SaaS marketing, kubernetes interview, or climate policy.
  2. 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 keynote
    • cognitive behavioral therapy
    • error 0x80070005
  3. 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 -shorts or -clip in 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 16 when you only want apple event coverage

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

FilterWhat it does
CategoryRestrict 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.
ShortsInclude 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 publishedLast 24 hours, week, month, year, or a custom published-after date
Video durationShort (<4 min), medium (4–20 min), or long-form (20+ min)
LanguageEnglish, Spanish, French, German, Japanese, and more — uses each video's declared audio/caption language
Result countCap how many videos load in one run

Example combinations

GoalSettings
Recent long-form tutorials, no ShortsQuery: python asyncio · Exclude: beginner · Shorts: Exclude · Duration: Long · Category: Education · Date: This month
Exact launch phrase, no clipsExact phrase: Series B announcement · Exclude: shorts, clip, reaction · Shorts: Exclude · Category: News & Politics
Shorts-only trend scanQuery: 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:

  1. Sort by title, channel, or publish date.
  2. Select rows and click Export CSV for a spreadsheet (title, channel, publish date, video URL) — ready for Sheets, Notion, Airtable, or a CRM.
  3. 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

  1. Search — type your query in the top search bar and press Enter.
  2. 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).
  3. Quick type chip — YouTube also surfaces a Videos chip on results (2026 update). Selecting Videos hides Shorts for that search.
  4. 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)
    • TypeVideos, 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
  5. Channel search — open a channel → use that channel's search box to query only inside that creator's uploads.

Mobile

  1. Search from the top bar.
  2. Tap the three-dot menu (top-right on results) → Search filters.
  3. 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.

OperatorSyntaxWhat it doesExample
Exact phrase"phrase"Prioritizes videos where the exact words appear together in title, description, or captions"product launch keynote"
Exclude word-wordRemoves results containing that word (no space after -)python tutorial -beginner
Exclude phrase-"phrase"Removes results containing that phraseapple event -"iphone 16"
Either termOR (capitalized)Matches videos with either term"machine learning" OR "deep learning"
Title onlyintitle:"phrase"Restricts matching to the video titleintitle:"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:

TechniqueHow
Minus operatorAdd -shorts (and often -short, -clip, -clips) to the query
Type filterFilters → Type → Videos, or tap the Videos chip on results (2026)
Duration filterFilters → 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]

KeywordEffect
, today / , week / , month / , yearUpload date window
, shortUnder ~3 minutes
, longOver ~20 minutes
, channelSurfaces channels for the topic
, playlistSurfaces playlists (full courses, series)
, HDHD videos
, CCVideos with captions (often means a transcript exists)
, creative commonsCC-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)

  1. Create a project in Google Cloud Console.
  2. Enable YouTube Data API v3 for that project.
  3. 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.
  4. Call GET https://www.googleapis.com/youtube/v3/search with 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 wantAPI parameterValues / notes
Keyword queryqFree text; supports - (NOT) and | (OR). Exact-match and exclusion UI fields map here
CategoryvideoCategoryIdNumeric ID with type=video — e.g. 27 Education, 28 Science & Technology (category list)
Videos onlytypevideo (also channel, playlist, or comma-separated)
Published afterpublishedAfterRFC 3339 datetime, e.g. 2026-01-01T00:00:00Z
Published beforepublishedBeforeRFC 3339 datetime
DurationvideoDurationshort (<4 min), medium (4–20 min), long (>20 min) — no separate "Shorts" enum; use medium or long to skip most Shorts
Language biasrelevanceLanguageISO 639-1 code, e.g. en, es, de
Sort orderorderrelevance, date, viewCount, rating, title
Captions requiredvideoCaptionclosedCaption (with type=video)
HD onlyvideoDefinitionhigh (with type=video)
Creative CommonsvideoLicensecreativeCommon (with type=video)
Live / upcomingeventTypelive, completed, upcoming (with type=video)
One channelchannelIdChannel ID; max ~500 video results per channel search
RegionregionCodeISO country code, e.g. US
Page sizemaxResults1–50 per request (default 5)
Next pagepageTokenFrom 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):

IntentAPI q syntaxExample
Either term| (OR)machine learning|deep learning
Exclude term- prefixtutorial -beginner
CombineStack operatorskubernetes 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 nextPageToken until it is empty.
  • pageInfo.totalResults is 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

NeedApproach
Filtered list + CSV, no codeDedicated search tool — e.g. advanced search on The YouTube Tool
Watch the next video on YouTubeMethod 2 — operators + Filters menu
Cron job, internal tool, or app backendMethod 3 — Data API
Transcripts after searchInline 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.