Hostinger Black Friday deal: VPS hosting up to 70% off
Ad

Try describing what you need:

MicroBin logo

MicroBin

★ 4.6k
BSD 3-Clause "New" or "Revised" LicenseOpen Source — No PaywallSingle Container — single container — minimal hosting footprintDocker · PackageNo external DB11 active committers (12mo)

About

MicroBin is a compact, self-hosted web application for sharing text, files, and URL redirects. It is intended for people who want a simple service they can run themselves, whether for sending content...

Community Ratings

No ratings yet
Screenshot

Features

  • Server-side and client-side end-to-end encryption
  • File uploads and raw text serving
  • QR code support
  • URL shortening and redirection
  • Multiple attachments
  • SQLite and JSON database support
  • Private and public uploads
  • Editable and uneditable uploads
  • Automatic upload expiration options
  • Automatic dark mode and custom styling

Details

Last Updated
Nov 28, 2026
Created
Apr 10, 2022
Install Methods
dockerpackage-manager
Requirements
SQLite (optional database backend)
Privacy & Independence
No Cloud Required
Theming
Dark modeCustom themes
Deployment

Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container

Run MicroBin yourself

Pick how much you want to manage.

5 more ways to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.

Is this your project? Sponsor a listing

Run MicroBin with Docker Compose

Compose file from the MicroBin project repository.

1 service

no resource limits declared

needs persistent storage (1 volume)

compose.yaml · @ 5268924 · scanned Nov 26, 2026

services:
  microbin:
    image: danielszabo99/microbin:latest
    restart: always
    ports:
     - "${MICROBIN_PORT}:8080"
    volumes:
     # Named volume: Docker initialises it from the image with the correct
     # ownership (uid/gid 65532) so the nonroot user can write to it.
     # To use a bind-mount instead, replace the line below with:
     #   - ./microbin-data:/app/microbin_data
     # and ensure the host directory is owned by uid 65532:
     #   mkdir -p ./microbin-data && chown 65532:65532 ./microbin-data
     - microbin_data:/app/microbin_data
    environment:
      MICROBIN_BASIC_AUTH_USERNAME: ${MICROBIN_BASIC_AUTH_USERNAME}
      MICROBIN_BASIC_AUTH_PASSWORD: ${MICROBIN_BASIC_AUTH_PASSWORD}
      MICROBIN_ADMIN_USERNAME: ${MICROBIN_ADMIN_USERNAME}
      MICROBIN_ADMIN_PASSWORD: ${MICROBIN_ADMIN_PASSWORD}
      MICROBIN_EDITABLE: ${MICROBIN_EDITABLE}
      MICROBIN_FOOTER_TEXT: ${MICROBIN_FOOTER_TEXT}
      MICROBIN_HIDE_FOOTER: ${MICROBIN_HIDE_FOOTER}
      MICROBIN_HIDE_HEADER: ${MICROBIN_HIDE_HEADER}
      MICROBIN_HIDE_LOGO: ${MICROBIN_HIDE_LOGO}
      MICROBIN_NO_LISTING: ${MICROBIN_NO_LISTING}
      MICROBIN_HIGHLIGHTSYNTAX: ${MICROBIN_HIGHLIGHTSYNTAX}
      MICROBIN_BIND: ${MICROBIN_BIND}
      MICROBIN_PRIVATE: ${MICROBIN_PRIVATE}
      MICROBIN_PURE_HTML: ${MICROBIN_PURE_HTML}
      MICROBIN_DATA_DIR: ${MICROBIN_DATA_DIR}
      MICROBIN_JSON_DB: ${MICROBIN_JSON_DB}
      MICROBIN_PUBLIC_PATH: ${MICROBIN_PUBLIC_PATH}
      MICROBIN_SHORT_PATH: ${MICROBIN_SHORT_PATH}
      MICROBIN_READONLY: ${MICROBIN_READONLY}
      MICROBIN_UPLOADER_PASSWORD: ${MICROBIN_UPLOADER_PASSWORD}
      MICROBIN_SHOW_READ_STATS: ${MICROBIN_SHOW_READ_STATS}
      MICROBIN_TITLE: ${MICROBIN_TITLE}
      MICROBIN_THREADS: ${MICROBIN_THREADS}
      MICROBIN_GC_DAYS: ${MICROBIN_GC_DAYS}
      MICROBIN_ENABLE_BURN_AFTER: ${MICROBIN_ENABLE_BURN_AFTER}
      MICROBIN_DEFAULT_BURN_AFTER: ${MICROBIN_DEFAULT_BURN_AFTER}
      MICROBIN_WIDE: ${MICROBIN_WIDE}
      MICROBIN_QR: ${MICROBIN_QR}
      MICROBIN_ETERNAL_PASTA: ${MICROBIN_ETERNAL_PASTA}
      MICROBIN_ENABLE_READONLY: ${MICROBIN_ENABLE_READONLY}
      MICROBIN_DEFAULT_EXPIRY: ${MICROBIN_DEFAULT_EXPIRY}
      MICROBIN_NO_FILE_UPLOAD: ${MICROBIN_NO_FILE_UPLOAD}
      MICROBIN_CUSTOM_CSS: ${MICROBIN_CUSTOM_CSS}
      MICROBIN_HASH_IDS: ${MICROBIN_HASH_IDS}
      MICROBIN_ENCRYPTION_CLIENT_SIDE: ${MICROBIN_ENCRYPTION_CLIENT_SIDE}
      MICROBIN_ENCRYPTION_SERVER_SIDE: ${MICROBIN_ENCRYPTION_SERVER_SIDE}
      MICROBIN_DEFAULT_PRIVACY: ${MICROBIN_DEFAULT_PRIVACY}
      MICROBIN_MAX_FILE_SIZE_ENCRYPTED_MB: ${MICROBIN_MAX_FILE_SIZE_ENCRYPTED_MB}
      MICROBIN_MAX_FILE_SIZE_UNENCRYPTED_MB: ${MICROBIN_MAX_FILE_SIZE_UNENCRYPTED_MB}
      MICROBIN_DISABLE_UPDATE_CHECKING: ${MICROBIN_DISABLE_UPDATE_CHECKING}
      MICROBIN_DISABLE_TELEMETRY: ${MICROBIN_DISABLE_TELEMETRY}
      MICROBIN_LIST_SERVER: ${MICROBIN_LIST_SERVER}

volumes:
  microbin_data:

This file may be out of date. Check the MicroBin documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Nov 26, 2026

Alternatives to MicroBin

Wastebin logo

Wastebin

893
Wastebin is a minimal pastebin for sharing text snippets, with syntax highlighting, encryption, and paste expiration controls.
PastebinsSelf Hosting SolutionsPermissive License
Details
rustypaste logo

rustypaste

1.2k
Rustypaste is a minimal self-hosted file upload and pastebin service that also supports URL shortening.
PastebinsPermissive LicenseSimple File Uploads+4
Single ContainerFully FOSS
Details
snowshare logo

snowshare

113
SnowShare is a self-hosted file, link, and paste sharing app with user accounts, sharing controls, and a REST API.
Self Hosting SolutionsSimple File UploadsPastebins+1
2 ContainersTelemetry: Opt-Out
Details
PrivateBin logo

PrivateBin

8.8k
PrivateBin is a minimalist open source online pastebin that encrypts data in the browser so the server has zero knowledge of stored content.
PastebinsPermissive LicenseSelf Hosting Solutions
Details
paaster logo

paaster

570
Paaster.io is a privacy-focused pastebin application with end-to-end encryption, paste history, and sharing features.
PastebinsFile & Object StorageSelf Hosting Solutions+1
Cloud Required
Details
Enclosed logo

Enclosed

2.1k
Enclosed is a minimal web application for sending end-to-end encrypted notes and files.
Simple File UploadsPastebinsNote Taking Apps+2
Details
Chiyogami logo

Chiyogami

81
Chiyogami is a self-hostable pastebin with encryption, configurable expiration, private pastes, user accounts, and an API.
PastebinsPermissive LicenseSelf Hosting Solutions
Single Container
Details
bin logo

bin

708
A minimalist paste bin for quickly sending text snippets to others.
PastebinsPermissive LicenseSelf Hosting Solutions
Details
pacebin logo

pacebin

Super-minimal pastebin and file upload service focusing on small executable size, portability, and ease of configuration.
PastebinsSimple File UploadsCopyleft License+2
Details
PrivyDrop logo

PrivyDrop

149
An open-source peer-to-peer file and text sharing tool built on WebRTC with end-to-end encryption.
P2P File SharingPermissive LicenseSimple File Uploads+2
Details
Shhh logo

Shhh

420
A tiny Flask app for creating encrypted secrets and sharing them securely via temporary links.
Custom CommunicationsPermissive LicenseSecret Management+2
Details
OTS logo

OTS

817
A one-time-secret sharing platform that encrypts secrets in the browser before sending them to a server and deletes them after first read.
Custom CommunicationsSecret ManagementPastebins+2
Details

Related Software

sE2EEnd logo

sE2EEnd

12
Self-hosted, end-to-end encrypted file sharing and secret-note transfer platform.
PastebinsSelf Hosting SolutionsSimple File Uploads
4 Containers
Details
BinPastes logo

BinPastes

19
A simple self-hosted pastebin for notes with search, expiry, visibility controls, and client-side encryption.
PastebinsPermissive LicenseNote Taking Apps+1
Details
Yopass logo

Yopass

3.3k
Yopass is a self-hosted secret-sharing service for sending passwords, files, and other sensitive information with end-to-end encryption.
PastebinsSimple File UploadsPermissive License+2
2 ContainersOpen Core
Details
Sup3rS3cretMes5age logo

Sup3rS3cretMes5age

569
A self-destructing secret message service that stores messages in HashiCorp Vault and deletes them after a single read.
PastebinsSecret ManagementSelf Hosting Solutions+1
Details
Zipline logo

Zipline

3.5k
A self-hosted file upload server for sharing files, shortening URLs, and managing upload-related assets.
Simple File UploadsFile & Object StorageURL Shorteners+4
Details
One Time Secret logo

One Time Secret

3.0k
A self-hostable service for creating one-time links that reveal sensitive information only once.
Custom CommunicationsSecret ManagementPastebins+2
Details
Send logo

Send

5.3k
Simple, private, end to end encrypted temporary file sharing, originally built by Mozilla.
P2P File SharingCopyleft LicenseSimple File Uploads+1
Details
Pastefy logo

Pastefy

464
Pastefy is an open source paste-sharing service and alternative to Gists or Pastebin.
PastebinsPermissive LicenseSelf Hosting Solutions
Details