Main interface with 3-pane layout: folder tree navigation, grid thumbnail view with quick category filters (Images, Documents, Media, Archives), and real-time metadata inspector with quick action tools.
Detailed list/table view with sortable columns, right-click context menu (Preview, Download, Rename, Move, Duplicate), and floating bulk actions bar (Download ZIP, Batch Move, Delete).
Built-in interactive Image Crop and Resize modal supporting aspect ratio presets (1:1, 16:9, 4:3, Freeform), zoom/rotation controls, and instant insertion into Drupal content fields.

This project is not covered by Drupal’s security advisory policy.

File Explorer is a modern, fast, and feature-rich file manager and field widget module for Drupal 11. It provides an intuitive, desktop-like file management experience directly within your Drupal administration interface and content creation forms.

Say goodbye to duplicate uploads, cluttered media directories, and rigid file workflows. File Explorer brings complete control over your server’s file system with robust security, granular access control, and seamless integrations.


Key Features

Modern & Responsive UI

  • 3-Pane Desktop Layout: Interactive directory tree on the left, file browser in the center, and live metadata inspector on the right.
  • List & Grid Display Modes: Switch effortlessly between detailed table view (with sortable columns) and thumbnail grid view.
  • Claro & Gin Ready: Full support for modern Drupal administration themes, including dark mode and high-contrast accessibility (WCAG 2.1 AA).
  • Mobile & Tablet Friendly: Fully responsive interface with slide-out navigation drawers for touch devices.

Comprehensive File & Folder Operations

  • Drag & Drop Upload: Upload single or multiple files with real-time progress bars and chunked upload support for large files.
  • Full Directory Management: Create, rename, move, copy, and safely delete folders and subfolders.
  • Clipboard Actions: Copy, Cut, Paste, and Duplicate files with automatic name collision handling.
  • File Usage Safety Check: Prevents accidental deletion of managed files actively used across nodes, blocks, or media entities.
  • Bulk Actions & ZIP Export: Select multiple files and download them as a single .zip archive or batch delete/move them.

Content Editor & Field Integrations

  • Form API Field Widget: Replaces default file/image upload inputs with an interactive modal file browser — reuse existing assets without creating duplicates!
  • CKEditor 5 Plugin: Dedicated toolbar button to browse, select, and insert images or file links directly into your rich text content.

Built-in Image Processing

  • Image Crop: Built-in cropping tool with preset aspect ratios (1:1, 16:9, 4:3, Freeform).
  • Resize & Rotate: Quick dimensions adjustment and 90°/180° rotation via Drupal core image toolkits.
  • Watermark: Add visual watermarks with customizable opacity and positioning.
  • Metadata Editing: Manage Alt and Title attributes on the fly for better SEO and accessibility.

Fast Search & Quick Filters

  • Instant Search: Real-time client-side filtering and recursive deep search across subfolders.
  • Category Tabs: One-click quick filters for Images, Documents, Audio/Video media, and Archives.

Enterprise Security & Granular Permissions

  • Configurable Access Profiles: Define root directories, allowed file extensions, upload limits, and permitted actions per user role.
  • Path Traversal Protection: Strict path canonicalization and whitelist checks preventing unauthorized directory access.
  • MIME & SVG Sanitization: Automated XSS filtering for uploaded SVGs and strict executable file blocking.
  • Stream Wrapper Support: Compatible with public://, private://, temporary://, and cloud storage solutions (e.g. S3 / Flysystem).

Developer & CLI Friendly

  • RESTful API: Clean API endpoints protected by CSRF tokens for custom integrations.
  • Symfony Event Dispatcher: Hook into file upload, move, rename, delete, and directory creation events.
  • Drush Commands: CLI utilities for scanning, synchronizing, and cleaning orphaned files (drush fe:scan, drush fe:cleanup).

Requirements

  • Drupal: ^11 (or ^10.3 / ^11)
  • PHP: 8.3+
  • Core Modules: file, image

Installation & Getting Started

  1. Install via Composer:
    composer require drupal/file_explorer
  2. Enable the module via Drush or the Drupal Admin UI:
    drush pm:enable file_explorer
  3. Navigate to Administration > Content > File Explorer (/admin/content/file-explorer) to start managing files.
  4. Configure user permissions and custom access profiles at Administration > Configuration > Media > File Explorer (/admin/config/media/file-explorer).
  5. (Optional) In your Content Type form display settings, change the widget for any File or Image field to "File Explorer".

Support & Maintenance

If you find this module helpful and want to support its ongoing development, new features, and maintenance, consider buying me a coffee:

👉 Support development on Buy Me a Coffee

Your support is greatly appreciated and helps keep the project active and up-to-date with latest Drupal releases!


Contributing & Bug Reports

Please submit issues, feature requests, and merge requests via the Drupal.org issue queue.

Supporting organizations: 

Project information

Releases