In short: by default WinRAR stores the relative folder structure of what you add, and recreates it on extraction. To flatten everything into one folder, use the extraction option “Do not extract paths”; to keep folders, leave “Extract relative paths” selected.
WinRAR Folder Structure
Control how paths are stored and rebuilt
How an archive stores folders decides how cleanly it unpacks later. Power users care about this when sharing source trees, backing up nested projects, or merging many subfolders into one. WinRAR gives you precise control on both the compression and extraction side.
