Extract YouTube video IDs from search results effortlessly. Lightweight, fast, and built for Dart & Flutter projects.
Built for developers who need reliable video ID extraction without scraping complexity.
Extracts IDs from search results, URLs, and short links with high accuracy.
Zero external dependencies — keeps your project lean and fast.
Gracefully handles malformed inputs and returns empty results when needed.
Works seamlessly in mobile, desktop, and web Flutter applications.
Comprehensive test suite ensures reliability across edge cases.
Strong Dart typing with clear return types for better DX.
Add the package to your pubspec.yaml or use the CLI.
Simple, intuitive API to get video IDs from any YouTube search input.
All the functions you need to get YouTube video IDs.
Accepts a search query or a YouTube URL and returns a list of video IDs found.
Extracts a single video ID from a full YouTube URL or shortlink.
Scans any text for YouTube video IDs (regex-based). Returns all matches.
Checks if a string is a valid YouTube video ID (11 characters, alphanumeric + - _).