What is Kutt?
Kutt is a modern, open-source, self-hosted URL shortening platform designed to create, manage, and monitor shortened links.
It allows users to transform long URLs into short, memorable addresses using their own domains. Kutt provides a centralized dashboard for managing links, monitoring click statistics, and controlling access to shortened URLs.
The platform supports custom URL aliases, password-protected links, expiration dates, and private analytics. It also provides a RESTful API for integrating URL shortening functionality into external applications, scripts, and automated workflows.
Kutt is particularly useful for businesses, developers, content creators, and organizations that want to manage branded short links while maintaining control over their infrastructure and data.
History of Kutt
Kutt is an open-source URL shortening project originally developed by The Devs.
The project was created to provide a modern alternative to commercial URL shortening services, with an emphasis on self-hosting, customization, and privacy.
Kutt has evolved to support custom domains, link management, private statistics, user administration, and API integrations.
The application is built with Node.js and provides a Docker-based deployment option, making it straightforward to operate on personal servers and cloud infrastructure.
Kutt is distributed under the MIT license.
Key Features of Kutt
Kutt provides a comprehensive set of features for creating and managing shortened URLs.
- URL Shortening: Convert long URLs into short, shareable links.
- Custom Domains: Use your own domain for branded shortened URLs.
- Custom URL Aliases: Create memorable short links with custom identifiers.
- Click Analytics: Monitor statistics for individual shortened URLs.
- Private Statistics: Access link performance information through the management interface.
- Password-Protected Links: Restrict access to shortened URLs using passwords.
- Link Expiration: Configure expiration dates for temporary links.
- Link Editing: Modify destination URLs without changing the existing short address.
- Link Descriptions: Add descriptions to help organize and identify shortened links.
- User Management: Manage user accounts and link ownership through the administration interface.
- RESTful API: Create, retrieve, edit, and delete shortened URLs programmatically.
- Registration Controls: Disable public registration to keep an instance private.
- Anonymous Link Controls: Require authentication before users can create shortened URLs.
- OpenID Connect: Support external authentication providers through OIDC.
- Custom Themes: Customize the appearance of the application using CSS, images, and templates.
- Browser Extensions: Integrate URL shortening into supported browsers.
- Database Flexibility: Support SQLite, PostgreSQL, and MySQL/MariaDB.
- Docker Support: Deploy the application using official Docker images and Compose configurations.
Use Cases
Kutt is suitable for individuals and organizations that need a centralized URL shortening service.
Common use cases include:
- Business Marketing: Create branded links for advertisements, newsletters, and promotional campaigns.
- Social Media Management: Generate shorter URLs for sharing across social networks.
- Developer Integrations: Integrate URL shortening into applications through the REST API.
- Internal Infrastructure: Host a private URL shortening service for employees and internal applications.
- Affiliate Marketing: Organize and manage tracking links for promotional campaigns.
- Content Publishing: Create memorable links for articles, videos, and downloadable resources.
- Temporary Sharing: Generate links with password protection and expiration dates.
- Application Automation: Automatically shorten URLs through scripts and external integrations.
- Branded Communication: Use custom domains to maintain consistent branding across shared links.
Benefits of Kutt
- Open-source and self-hosted URL shortening
- Supports custom domains and branded links
- Provides private click statistics
- Allows custom URL aliases
- Supports password protection and link expiration
- Includes link editing and management
- Provides a RESTful API for integrations
- Supports multiple database backends
- Includes user and access management
- Supports OpenID Connect authentication
- Offers customizable themes and templates
- Can be deployed using Docker
- Provides greater control over shortened URLs and associated data
How to Install Kutt
To install Kutt through Esadax, follow these steps:
- Purchase the application through Esadax.
- After purchasing, you will be prompted to provide the required configuration parameters.
- Enter your configuration values, including the public domain and authentication settings when required.
- Configure the database connection if using an external database.
- Configure Redis if enabled by the deployment package.
- Click Deploy to launch the application.
- Access the Kutt interface through its assigned application URL.
- Complete the initial administrator account setup.
- Configure your custom domain if required.
- Start creating shortened URLs and monitoring their performance.
Once deployed, Kutt provides a centralized dashboard for managing links, users, and analytics.
URL Management
Kutt provides a dashboard for creating, organizing, and managing shortened URLs.
Users can create links by submitting a destination URL and optionally configuring additional settings.
Available link options include:
- Custom short URL identifiers
- Password protection
- Link descriptions
- Expiration dates
- Destination URL editing
Users can review their existing links, update destination addresses, or remove links that are no longer required.
This makes Kutt suitable for managing large collections of shortened URLs without relying on external shortening services.
Custom Domain Support
One of Kutt's main features is the ability to use custom domains for shortened links.
Instead of sharing links through a generic shortening domain, organizations can configure their own domains to create branded URLs.
For example:
https://example.com/documentationhttps://links.example.com/producthttps://go.example.com/campaign
To configure a custom domain:
- Configure the desired domain or subdomain in your DNS provider.
- Point the DNS record to the server hosting Kutt.
- Configure the domain in the Kutt application.
- Set the appropriate default domain in the deployment configuration.
- Configure HTTPS and valid TLS certificates for the domain.
- Verify that generated links use the configured domain.
Kutt also supports HTTPS for custom-domain links through its CUSTOM_DOMAIN_USE_HTTPS configuration option.
TLS certificates for custom domains must be configured separately.
Analytics and Statistics
Kutt provides private statistics for shortened URLs, allowing users to monitor link performance.
The analytics interface helps users understand how their shared links are being accessed.
Users can review statistics associated with their shortened URLs and identify which links receive the most activity.
Analytics are useful for:
- Monitoring link click activity
- Comparing the performance of different URLs
- Evaluating marketing campaigns
- Identifying popular shared resources
- Measuring the engagement generated by published links
Statistics are accessible through the application's management interface.
API and Integrations
Kutt provides a RESTful API that allows external applications to interact with the URL shortening platform.
The API can be used to automate link creation and management without manually accessing the web interface.
Common integration scenarios include:
- Creating shortened URLs from scripts.
- Generating links automatically from web applications.
- Retrieving information about existing shortened URLs.
- Updating destination URLs programmatically.
- Deleting shortened URLs.
- Integrating URL shortening into content management systems.
- Building custom dashboards and automation workflows.
API authentication uses credentials generated through the Kutt application.
Kutt also supports integrations with tools such as ShareX and browser extensions for convenient link shortening.
Security / Administration / Configuration
Kutt provides administration and access-control functionality for managing users and controlling who can create shortened URLs.
Security options include:
- Disable public user registration.
- Restrict anonymous link creation.
- Configure authentication through OpenID Connect.
- Protect individual links with passwords.
- Set expiration dates for temporary links.
- Configure API authentication.
- Enable rate limiting for supported API routes.
- Configure HTTPS through a reverse proxy.
- Protect administrative accounts with strong credentials.
For public deployments, consider the following practices:
- Use a strong and randomly generated JWT secret.
- Enable HTTPS for all application access.
- Disable registration when public accounts are not required.
- Restrict anonymous link creation when operating a private service.
- Enable rate limiting to reduce abuse.
- Configure trusted proxy settings correctly.
- Monitor submitted links and remove malicious redirects.
- Restrict database and Redis access to trusted services.
- Keep Kutt and its dependencies updated.
- Maintain regular database backups.
URL shorteners can be abused to distribute phishing links and redirect users to malicious websites. Public deployments should include appropriate abuse-reporting and moderation procedures.
Best Practices for Kutt
- Use a dedicated domain or subdomain for shortened URLs.
- Choose recognizable and consistent custom URL aliases.
- Enable HTTPS for all configured domains.
- Configure link expiration for temporary resources.
- Use password protection for sensitive destinations.
- Disable public registration when operating an internal service.
- Restrict anonymous link creation when appropriate.
- Enable rate limiting for public instances.
- Protect API credentials and JWT secrets.
- Monitor link statistics regularly.
- Review reported links and suspicious activity.
- Back up the database and application configuration.
- Keep the application and dependencies updated.
Configuration Parameters
After purchasing this application on Esadax, you will be prompted to provide the configuration parameters required by the deployment.
Esadax adds the supplied variables to the deployment so the application can be launched with the configuration it requires.
Kutt supports configuration through environment variables or a .env file.
The following are common configuration parameters supported by the official Kutt deployment:
| Parameter | Description |
|---|---|
JWT_SECRET |
Secret used to sign authentication tokens. Required for production deployments. |
PORT |
Port used by the application. Defaults to 3000. |
SITE_NAME |
Name displayed in the application interface. |
DEFAULT_DOMAIN |
Domain used when generating shortened URLs. |
LINK_LENGTH |
Default length of automatically generated short URL identifiers. |
DISALLOW_REGISTRATION |
Disables public user registration. |
DISALLOW_LOGIN_FORM |
Disables email and password login when OIDC authentication is enabled. |
DISALLOW_ANONYMOUS_LINKS |
Prevents users from creating links without authentication. |
TRUST_PROXY |
Controls whether Kutt trusts proxy headers when operating behind a reverse proxy. |
DB_CLIENT |
Database driver, such as better-sqlite3, pg, or mysql2. |
DB_HOST |
Database server hostname. |
DB_PORT |
Database server port. |
DB_NAME |
Database name. |
DB_USER |
Database username. |
DB_PASSWORD |
Database password. |
DB_FILENAME |
SQLite database file location when using SQLite. |
REDIS_ENABLED |
Enables Redis caching. |
REDIS_HOST |
Redis server hostname. |
REDIS_PORT |
Redis server port. |
REDIS_PASSWORD |
Redis authentication password. |
CUSTOM_DOMAIN_USE_HTTPS |
Generates HTTPS URLs for custom domains. |
ENABLE_RATE_LIMIT |
Enables rate limiting for supported API routes. |
MAIL_ENABLED |
Enables email functionality. |
MAIL_HOST |
SMTP server hostname. |
MAIL_PORT |
SMTP server port. |
MAIL_USER |
SMTP authentication username. |
MAIL_PASSWORD |
SMTP authentication password. |
MAIL_FROM |
Sender email address. |
OIDC_ENABLED |
Enables OpenID Connect authentication. |
OIDC_ISSUER |
OpenID Connect issuer URL. |
OIDC_CLIENT_ID |
OpenID Connect client identifier. |
OIDC_CLIENT_SECRET |
OpenID Connect client secret. |
REPORT_EMAIL |
Email address used to receive submitted link reports. |
CONTACT_EMAIL |
Support contact email displayed by the application. |
All environment variables are optional except JWT_SECRET in production. The other settings depend on the selected deployment configuration.
The default database is SQLite, using the better-sqlite3 driver. PostgreSQL, MySQL/MariaDB, and Redis can be configured when required.
Once the required values are configured, click Deploy to launch Kutt.
Database and Storage
Kutt supports several database configurations, making it suitable for different deployment sizes.
Supported databases include:
- SQLite: Default database for simple and lightweight installations.
- PostgreSQL: Suitable for production deployments requiring a dedicated database service.
- MySQL/MariaDB: Alternative relational database backends.
Redis can optionally be enabled for caching.
For Docker deployments, Kutt provides several Compose configurations:
docker-compose.yml- Default SQLite configuration.docker-compose.sqlite-redis.yml- SQLite with Redis.docker-compose.postgres.yml- PostgreSQL with Redis.docker-compose.mariadb.yml- MariaDB with Redis.
Ensure that persistent storage is configured for the SQLite database when using the default database backend.
For PostgreSQL and MariaDB deployments, ensure that database volumes and backups are managed independently.
Customization and Themes
Kutt supports customization through a dedicated /custom directory.
Administrators can modify the appearance and certain application templates without changing the application source code.
Customization options include:
- Custom CSS stylesheets
- Replacement logos and images
- Custom favicons
- Custom HTML templates
- Custom footer content
- Additional theme assets
This allows organizations to adapt the URL shortening interface to their branding and visual requirements.
Changes to custom assets may require restarting the application container.
Conclusion
Kutt is a modern, open-source URL shortening platform that provides custom domains, link management, private analytics, and API integrations.
With support for password-protected links, expiration dates, custom URL aliases, user administration, and multiple database backends, it provides the essential tools for operating a centralized URL shortening service.
Its self-hosted architecture gives organizations and individuals control over their shortened links, infrastructure, and analytics data.
Kutt is a practical solution for businesses, developers, and organizations looking for a flexible alternative to commercial URL shortening platforms.

