OneNote Bulk Section Reorganizer
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
OneNote Bulk Section Reorganizer solves a common notebook management challenge: reorganizing sections in OneNote is tedious when done one at a time. While OneNote allows moving sections between groups and reordering them, there is no native way to select and move many sections simultaneously. This tool reads your current OneNote notebook view, detects all visible sections and section groups, and displays them in a scrollable checklist with section names, page counts, and last modified dates. You select the sections you want to reorganize, choose a target section group, and click "Move Selected Sections." The tool then processes each selected section sequentially through OneNote's API, updating the parent section group for each one. A preview shows your selection before moving, and progress tracking shows each section as it's processed. You can also filter sections by name to narrow down your selection.
WHERE IT RUNS
This extension panel runs directly inside your browser as an overlay on any OneNote notebook view. It works on the notebook homepage, section list, and section group views. The tool detects sections and section groups from the page's DOM and uses OneNote's REST API (via GM_xmlhttpRequest) for move operations. It requires no additional API keys beyond your existing authenticated session — the tool extracts your access token from the page.
HOW TO USE
After installing the BotGentz extension and activating OneNote Bulk Section Reorganizer, navigate to any OneNote notebook view showing sections. Click the extension icon in your browser toolbar to open the panel. The tool automatically detects all sections and section groups displayed in the current view. Each section appears with its name, page count, and current group alongside a checkbox. Use the "Select All" toggle or individually check sections. Next, choose a target section group from the dropdown — the tool detects all groups in the current notebook. Optionally, use the filter input to narrow down sections by name. The preview section shows how many sections are selected and the target group. Finally, click "Move Selected Sections." A confirmation dialog appears before the move begins. The tool processes each section with a 500ms delay, showing progress as each section is moved. A notification appears when all sections have been processed.
TECHNICAL OPERATION — OneNote REST API Section Reorganization
This tool combines DOM-based section detection with API-based move operations for reliability. It first scans the page for section elements using selectors like `[data-section-id]`, `.section-item`, and `.section`, extracting section names, page counts, and group associations. For section group detection, it looks for elements with `[data-group-id]`, `.section-group`, and `.group`. For the move operation, the tool constructs a PATCH request to OneNote's `/sections/{sectionId}` endpoint with a payload containing the `parentSectionGroupId` of the target group. When the target is "Root", the payload omits the parentSectionGroupId or sets it to null. Authentication is handled by extracting the user's access token from the page's scripts (using regex to find `accessToken:"..."`) or cookies, and including it in the Authorization header. The API approach is more reliable than DOM-based simulation because it works independently of OneNote's UI structure, supports proper error handling with HTTP status codes, and can handle large numbers of sections efficiently. A 500ms delay between moves prevents API rate limiting.
THE PANEL
The extension panel is fully draggable and remembers its position per site session. It snaps to the nearest edge of the browser viewport when dragged within 50 pixels of any side. You can collapse the panel to a compact title bar using the minimize button, preserving your selection state. The panel resizes vertically by dragging the bottom edge. Press the Escape key to close the panel instantly without losing your section selection. The preview updates in real-time as you select sections or change the target group.
PLEASE NOTE
This tool requires the free BotGentz extension to function. The script uses OneNote's REST API and requires your session to be authenticated. It does not store, transmit, or log any notebook data, section information, or user activity. All API requests are made locally from your browser session. OneNote's API has rate limits; the tool uses a 500ms delay between moves to avoid rate limiting. The tool relies on extracting your access token from the page, which may expire if your session times out. OneNote may update its DOM structure over time, which could affect section and group detection; we monitor and release compatibility updates as needed. Moving sections to a new group is permanent but can be reversed by moving them back manually. Make sure you're on a notebook view for the tool to detect sections correctly.