Video-to-Shorts
Turns long-form videos into short clips: AI picks the strongest moments, cuts them and adds word-timed subtitles you can edit before export.
Paste a long video. Get back short clips worth posting.
Video-to-Shorts is a web app that turns one long YouTube video into several short, standalone clips. It downloads the video, reads what is said, and shows you the transcript to check. Then an AI picks the strongest moments, can stitch moments from different parts of the video into one short, writes a title and a hook for each, and cuts the files. A built-in editor adds captions to any clip.
From one long recording to many short ones.
Podcasts, talks and interviews run for an hour or more, but the places people discover them are short vertical feeds. The good parts are there in the recording. Finding them means watching the whole thing, noting the moments that stand on their own, and cutting each one by hand.
Video-to-Shorts was built to do that first pass automatically. The public repository starts on 23 February 2026 with a download-and-transcript stage, a review screen and an AI step that finds the clips. Over the next five weeks it grew through 18 commits.
The first versions asked the AI to pick single stretches of speech. Within the first day that became compiled shorts, where moments from different parts of a video are joined into one story, up to two and a half minutes long. The interface was redesigned into a cleaner, more professional look the next day, and downloads were changed to fetch the best available quality.
Captions took a different path. A first caption step was added in March and then removed, and the project switched its AI provider from Gemini to OpenRouter. A few days later it was connected to a separate subtitle generator, a React editor that now handles captions for each finished clip, including Hindi and Hinglish.
A good clip is more than a random slice.
Cutting a video into equal pieces is easy and gives poor results. A clip that works on its own has to make sense to a stranger, open with something that earns attention, and end on a finished thought, not in the middle of a sentence. Doing this well takes an editor’s judgement for every minute of footage.
The tool tries to cover that whole chain, from getting the video to handing back files that are ready to post.
- Get the video and its words without manual downloading or typing.
- Let a person check the transcript before any AI work starts.
- Choose moments that stand alone, not fragments that need context.
- Build a short with a hook, a middle and an ending, even when the best parts are far apart.
- Write a title that fits the language of the video.
- Produce the cut files and let the person caption them.
Six steps from a link to finished shorts.
A person pastes a YouTube link and presses a button. The work runs in the background in two phases, with a pause in the middle so the person stays in control.
- 1. Paste a link: The app accepts a YouTube address and starts a job. Progress is shown on screen while it works.
- 2. Download: The video is fetched at the best quality available, together with its captions when the video has them.
- 3. Read the words: The captions are cleaned up and merged into a transcript that is easy for an AI to read.
- 4. Review: The video plays next to its transcript. You check it, then approve it before the AI step begins.
- 5. Pick the moments: An AI reads the transcript and proposes clips with a title and a hook, built from one moment or several.
- 6. Check and cut: Each proposal is checked, then cut into its own file. Several clips are processed at the same time.
What Video-to-Shorts can do.
- Starts from a link: Paste a YouTube address. No file to download or upload first.
- Review before AI: Watch the video and read its transcript, then approve it, so mistakes are caught early.
- Finds standalone moments: The AI looks for parts that a stranger can follow with no context.
- Compiled shorts: Joins moments from different parts of a video into one short with a clear story, up to two and a half minutes.
- Titles and hooks: Every clip gets a title and an opening hook written for scrolling viewers.
- Hindi and Hinglish: For Hindi videos the titles are written in Hinglish, the way Indian creators write them.
- Caption editor: Open any clip in a built-in editor to transcribe, style and add captions.
- Parallel cutting: Clips are cut while the AI is still finding more, so results appear one by one.
From a long video to finished shorts.
At a high level, one video goes in and several clips come out. A transcript sits at the centre. It is what the person reviews and what the AI reads, so the choice of clips is based on what is actually said.
Between the AI’s proposals and the files there is a checking step. Proposals with impossible timings or a bad length are dropped, and the rest are cut.
- A YouTube link: Pasted into the web app
- The video: Best available quality
- Its captions: When the video has them
- Transcript: Cleaned and merged into readable lines
- Your review: Watch, read, then approve
- AI picks the moments: Single moments or several joined into one story, each with a title and hook
- Checks: Timings and lengths are validated before anything is cut
- Cut into shorts: One file per clip, ready to download
- Optional captions: Each clip can be opened in the caption editor
Judging a clip like a viewer would.
The AI is asked to think about a cold viewer: someone who has never seen the video or its speaker. A clip should make sense to them straight away, give them a reason to keep watching and finish in a way that feels complete.
This is why compiled shorts are the preferred shape. Opening on the strongest moment, even one from late in the video, and then jumping to the setup and the payoff gives a better short than any single stretch of footage.
- Clips that rely on earlier context are left out.
- Clips that end mid-thought are left out.
- Joins between moments are meant to sound natural when heard back to back.
- Titles follow the language of the video, including Hinglish for Hindi.
- Long videos are read in parts, so a long recording can be analysed.
A caption editor for every clip.
Each finished clip can be opened in a separate editor built with React. It transcribes the clip, shows the words on a timeline and lets the person change how the captions look before saving them.
The editor can burn captions into the video or export them as a separate subtitle file. It handles Hindi and Hinglish speech as well as English.
A small Python server with two front ends.
A Flask server runs the jobs and holds the state of each one. A single-page interface starts jobs, shows progress, plays the review step and lists the results. The caption editor is a separate React app that the server hands out for each clip.
- What people use, Web interface: Paste a link, follow progress, review, download
- What people use, Caption editor: A React app for transcribing and styling captions
- Video-to-Shorts server, Flask server: Starts jobs and reports their progress
- Video-to-Shorts server, Pipeline: Download, transcript, review, clip selection, cutting
- Video-to-Shorts server, Clip checks: Validates timings and lengths before cutting
- Tools and services, yt-dlp: Fetches videos and captions
- Tools and services, FFmpeg: Cuts and joins the clips
- Tools and services, AI models: Clip selection through OpenRouter, speech recognition with Whisper
- Server: Python, Flask
- Video: yt-dlp, FFmpeg
- AI: OpenRouter, Whisper, Hindi to Hinglish speech model
- Caption editor: React, TypeScript, Vite
Where it stands.
Video-to-Shorts is a working project that runs on a local machine. There is no hosted version. The code is public on GitHub.
- Takes YouTube links only.
- Clip choices are made by an AI, so they are good starting points that a person can still judge, not a guarantee.
- A person approves the transcript first, so a poor transcript is caught before it affects the clips.
- Runs one machine at a time, with job progress kept in memory.
Built with React, TypeScript, Python, Flask, Whisper, FFmpeg, OpenRouter.
Deepender Yadav - AI/ML Engineer & Full-Stack Developer
Selected work
- Edge Drop - A dynamic-island style clipboard shelf that lives on your screen edge. Hover to spring it open, then drag text, images, links, and files straight into any app.
- Wicky - An AI superconnector that finds the right person for you, introduces you only when you both say yes, joins your call by voice, and follows up on what was promised.
- Campus Connect AI - AI-powered multilingual chatbot for campus information. Features Gemini LLM, dynamic knowledge base, Telegram/web interfaces, and a secure admin dashboard.
- Readme Architect AI - SaaS app generating professional GitHub READMEs with Google Gemini AI. Shipped GitHub OAuth, private repo support, JWT auth, dynamic sitemap, and Google Analytics.
- CursorViaCam - Hands-free mouse control with a webcam: move your head to steer the cursor and blink to click. Designed to assist users with motor impairments.
- Buddy - AI text assistant for Android. Type /fix, /formal, /reply or any custom trigger at the end of text in any app, and Buddy rewrites it instantly using Gemini.
- Attend-Sight - An AI-powered attendance tracker that turns uploaded schedules into a beautiful, interactive dashboard for managing your classes.
- Presenta - Create stunning video mockups and screenshots with professional device frames and smooth scrolling animations directly in your browser.
- AI-news-Automation - Automated AI news aggregator that fetches, summarizes, and emails daily tech briefings using Google Gemini AI and Vercel serverless functions.
- Video-to-Shorts - Turns long-form videos into short clips: AI picks the strongest moments, cuts them and adds word-timed subtitles you can edit before export.
- Sub-Gen - AI-powered video subtitle generation tool that automatically transcribes and generates subtitles using speech-to-text. Supports Hindi and Hinglish.
yadavdeepender65@gmail.com · GitHub · LinkedIn