5.8k+ Stars on GitHub

Web Based File Manager in Single PHP File

A simple, fast and small file manager with a single file. No dependencies, no database required. Upload, download, edit, delete, preview and manage your files with ease.

tinyfilemanager.php
Tiny File Manager Interface Screenshot
500K+
Downloads
5.8K+
GitHub Stars
300+
Contributors
50+
Languages

Powerful Features

Everything you need to manage files efficiently, all in a single PHP file

Upload Files

Upload single or multiple files with drag & drop support. Supports large file uploads.

Download & Share

Download individual files or create zip archives for bulk downloads.

Edit Files

Built-in code editor with syntax highlighting for 150+ languages. Edit files directly in browser.

Preview Files

Preview images, videos, audio, PDFs and text files without downloading.

Manage Folders

Create, rename, delete folders. Navigate through directory structure easily.

Search Files

Powerful search functionality to find files and folders quickly.

Copy & Move

Copy or move files between folders with ease. Batch operations supported.

Access Control

Secure authentication system with user management and permission controls.

Multi-User Support

Create multiple users with different access levels and folder permissions.

Multi-Language

Supports 50+ languages with easy translation system.

Responsive Design

Works perfectly on mobile, tablet and desktop devices.

Fast & Lightweight

Single PHP file, no database required. Lightning fast performance.

Text Editor

Create and edit text files with syntax highlighting and auto-save.

Image Tools

View image properties, thumbnails and EXIF data.

Secure

CSRF protection, secure password hashing, and file upload validation.

Customizable

Easy configuration with multiple themes and layout options.

See It In Action

Try the live demo and experience the power of Tiny File Manager

Live Demo Available

Experience all features in our interactive demo. No installation required - just click and start exploring the file manager interface.

Default Credentials

Username: admin | Password: admin@123

User Account

Username: user | Password: user@123

Launch Demo
demo.tinyfilemanager.com

Quick Installation

Get started in minutes. No complex setup required.

Quick Start

Four simple steps to get started

1

Download

Download tinyfilemanager.php from GitHub releases

wget https://github.com/prasathmani/tinyfilemanager/raw/master/tinyfilemanager.php
2

Upload

Upload the file to your web server directory

3

Access

Open in browser and login with default credentials

Default: admin/admin@123
4

Configure

Change default password and configure settings

Requirements

  • PHP 5.5.0 or higher
  • Fileinfo, iconv, zip, tar extensions are recommended
  • Web server (Apache, Nginx, etc.)
  • No database required

Docker Installation

Run with Docker in seconds

Pull the Docker image:

docker pull tinyfilemanager/tinyfilemanager

Run the container:

docker run -d -p 8080:80 -v /path/to/files:/var/www/html/data tinyfilemanager/tinyfilemanager

Access the application:

http://localhost:8080

Advanced Configuration

Customize your installation

Configuration Options

Edit the configuration section at the top of tinyfilemanager.php:

// Auth users
$auth_users = array(
    'admin' => '$2y$10$...',
    'user' => '$2y$10$...'
);

// Readonly users
$readonly_users = array('user');

// Root path
$root_path = $_SERVER['DOCUMENT_ROOT'];

// Root URL
$root_url = 'http://localhost/';

Security Tips

  • • Change default passwords immediately
  • • Use strong password hashing
  • • Restrict file upload types
  • • Set appropriate file permissions
  • • Use HTTPS in production

Need help? Check out the documentation

View Documentation