Media Sorter

Open a folder of photos and videos, drag them into the order you want, and the .XnViewSort file is written automatically so XnView loads that exact order.

This app needs the File System Access API β€” please use Chrome, Edge, Brave or another Chromium browser.

Click to select (click again to deselect) Β· on touch, long-press to select and slide to extend; long-press a selected item (or slide back over it) to deselect Β· the βœ• fob clears all Β· press & drag to move Β· πŸ‘ preview: hover with a mouse; on touch, taps preview instead of selecting (tap sides or swipe = step, middle = select, double-tap = full screen) Β· +/βˆ’ zoom Β· F fullscreen Β· 0 fit Β· folders with subfolders get a πŸ—‚ tree: click to switch folder, right-click / long-press a folder for rename, cut & paste, move-selected-here and thumbnail generation

Rename all files

### becomes 001, 002, … in the current grid order (number of # = zero padding). Extensions are kept but cleaned up: lowercased, jpeg β†’ jpg.

Rename folder

Keyboard & touch

Grid β€” keyboard

← β†’ ↑ ↓
Move the focus cursor between items
Space
Select / deselect the focused item
Shift+Space
Range-select from the anchor to the cursor
Shift+ arrows
Move the selected items (relocate around the cursor)
Enter
Open the focused item full screen
P
Toggle the preview panel
+ βˆ’
Zoom thumbnails (columns, or row height in rows mode)
F
Toggle browser fullscreen
Esc
Clear selection, then drop the focus cursor
Ctrl+Z
Undo
Ctrl+Shift+Z
Redo (also Ctrl+Y)
?
Show this help

Full-screen viewer β€” keyboard

← β†’
Previous / next (pan horizontally when zoomed in)
↑ ↓
Pan vertically (when zoomed in)
+ βˆ’
Zoom in / out
0
Fit to screen
Space
Play / pause video
F
Toggle browser fullscreen
Esc
Close the viewer

Grid β€” touch

Tap
Focus an item (plays video / shows it in the panel)
Double-tap
Open full screen
Long-press & slide
Select a contiguous range; long-press a selected item (or slide back over it) to deselect
Press & drag
Move items into a new order (after a brief hold)
Two-finger pinch
Zoom thumbnails
βœ• fob
Clear the whole selection

Preview panel β€” touch

Tap sides / swipe ←→
Step to previous / next item
Tap middle
Select the item
Double-tap
Open full screen
Drag the divider
Resize the panel

Full-screen viewer β€” touch

Swipe ←→
Previous / next
Pinch out
Zoom in; then drag to pan
Pinch in (at fit)
Dismiss β€” keep pinching to close, release to spring back
Tap a video
Play / pause
βœ•
Close the viewer

Folder tree β€” touch

Tap a folder
Switch to that folder
Long-press / right-click
Menu: rename, cut / paste, move-selected-here, generate thumbnails, new folder
Drag the divider
Resize the tree