PPeak Productivity
Free YouTube workflow tool

One-click A-B loop for any YouTube video.

Pick a duration, drag the button to your bookmarks bar, and click it once on any YouTube watch page. The bookmarklet captures the moment you are at and repeats the next few seconds on a tight interval. No install, no account.

Drag the button above to your bookmarks bar in Chrome. If drag is blocked, right-click the button and pick "Add to bookmarks" or paste the javascript URL into a new bookmark by hand.

Generated bookmarklet code

This is the exact JavaScript that runs when you click the bookmark on a YouTube page. Read it before you install. It only touches the current tab.

How to install

  1. Show your bookmarks bar in Chrome. Press Ctrl + Shift + B on Windows or Cmd + Shift + B on Mac so the bar is visible.
  2. Drag the red button labeled "YouTube A-B Loop" from this page onto your bookmarks bar. The bookmark name will be the duration you chose.
  3. Open any YouTube video, scrub to the spot you want to loop, then click the bookmark once. A small banner appears in the corner with the loop range and a clear button.

What this tool does not do

This is a single-purpose bookmarklet, kept tiny on purpose. It is honest about its limits.

  • It does not save loops per video. Every click is a fresh loop.
  • It does not survive a page refresh or a navigation to another video.
  • It has no UI overlay with draggable A and B markers, no fine-tuning controls.
  • It does not support playback speed control, slow-motion, or pitch shift.
  • It does not work on YouTube Shorts or embedded players on other sites.

If you want loops that remember themselves, custom A and B markers, speed control, and shortcut keys, install the full extension below.

Get YouTube Looper Pro

Common questions

Does the bookmarklet work on every YouTube video?

It works on any standard YouTube watch page that uses the regular HTML5 video player. On YouTube Shorts the player markup is different and the bookmarklet may not attach. Embedded players on third-party sites are also out of scope.

Why does the loop reset when I refresh the page?

A bookmarklet runs once per click and has no storage. After a page reload nothing remembers the loop. Click the bookmark again to re-arm it, or use YouTube Looper Pro which saves loops per video and restores them automatically.

How do I stop the loop without reloading?

When the loop is active a small banner appears in the bottom right of the page. Click "Click to clear." and the interval stops. You can also click the bookmark again to replace the loop with a new one starting at the current moment.

Is this safe to use?

The bookmarklet only runs inside the current YouTube tab in your browser. It does not send data anywhere, has no external dependencies, and does not require permissions. Read the full source in the code block above before you install it.

Why does drag not work in my browser?

Some browsers and corporate device policies block bookmarklet creation by drag and drop. Right-click the red button and pick "Add to bookmarks" or "Bookmark this link". You can also open the bookmark manager, create a new bookmark, and paste the javascript URL into the URL field by hand.