Select a range on the preview timeline and re-encode a shorter video with an actual exported preview.
Your content stays on your device Free, with no account
Video Trimmer · local processingNo uploads
No file selected.
One local MP4/MOV/WebM/MKV up to 256 MiB. Codecs must be supported by this browser. Display dimensions up to 4096 px per side / 8.8 MP, finite timeline up to 24 hours. Export up to 10 minutes per job; GIF up to 15 seconds. Device limits may be lower.
Choose a video to begin. Nothing plays automatically.
Original video
0.000 s
Start
End
Playback preview settings
These settings affect preview only, not export.
Export settings
Drag Start/End handles or the selected range on the timeline. Arrow keys move a handle by 0.01 s; Shift moves 1 s. Exact fields accept finer values; quick sliders pause when they cannot represent them.
Encoding support is checked for these settings. Keep audio never silently drops an unsupported primary audio track; choose Mute explicitly if needed. Export size may increase. MP4 needs even dimensions. Primary video/audio only; extra tracks, subtitles and descriptive tags are omitted.
PLANNED OUTPUT FRAME
Live planned frame; the actual encoded result appears separately below.
Choose video and valid settings.
Source metadata
Track details & timeline
Container metadata is separate from successful playback. Times follow the container timeline; final packet durations may be estimated. Average file rate includes overhead. Original frame rate is not guessed.
Generate an output to preview the actual exported file.
Downloads enable only after the actual file preview loads. Video/audio exports have a 128 MiB output cap; PNG/GIF cap is 32 MiB. Re-encoding and codec packet/frame boundaries can affect duration and samples. Only primary tracks are used. Descriptive tags, extra tracks and subtitles are omitted. Source files are unchanged. Editing export settings invalidates the old result; Stop terminates the local worker.
A FEW SIMPLE STEPS
How to use Video Trimmer
Choose or drop a local video, or try the generated sample. Wait for its filename, size and metadata-ready status.
Play/pause and seek the source using the attached controls. For range tools, drag Start/End or enter exact times.
Review the selected tool’s format, fit, frame-rate and resource limits. Preview settings do not change exports.
Generate the result, inspect the actual exported preview and download. Metadata reports can be saved as JSON/TXT.
PRIVATE BY DESIGN
Why use this tool?
Your video is never uploaded to a server. Parsing, decoding, encoding and previews run locally with self-hosted code. User files and results stay in the active page/worker until cleared or released; no account or processing history is stored.
Tool inputs stay in your browser. Only your theme preference is saved on this device.
A few things worth knowing
Which files and browsers work?
Local MP4, MOV, WebM and MKV containers with codecs supported by this browser. No streaming URL, protected-media removal or universal codec promise. A current secure-context browser with WebCodecs, module workers and OffscreenCanvas is needed for processing; native playback can differ. Unsupported files/codecs produce a clear error.
What are the limits?
One file up to 256 MiB; displayed size up to 4096 px per side / 8.8 megapixels and a finite timeline up to 24 hours. Exports use up to ten minutes per job and 128 MiB output, with a three-minute processing deadline. GIF uses up to 15 seconds, 300 frames, 640 px per side and 32 MiB. PNG has a 32 MiB cap. Device memory can impose lower limits.
Are the previews the actual outputs?
The original player shows the source. Resize has a separately labeled planned frame. Actual output previews load the generated file itself before download enables. Frame capture reports the decoded source-frame timestamp, which can differ from the requested time between frames. Metadata does not certify successful codec decoding.
Does compression always reduce size or keep original quality?
No. Video export re-encodes primary tracks at a requested bitrate/frame rate, subject to browser support. Smaller dimensions or bitrate may reduce size; the actual result can be larger. Resampling, color conversion and frame/audio packet boundaries can change quality or duration. Extra tracks, subtitles and descriptive tags are omitted.
How are GIF and extracted audio encoded?
GIF uses indexed palettes of up to 256 colors per frame, no dithering, black transparency flattening, continuous loop and no audio. Frame delays are distributed on the GIF centisecond grid. Audio extraction decodes the selected primary audio range to 48 kHz 16-bit PCM WAV with explicit mono/stereo output; it is not a lossless compressed-stream copy.