A lightweight, browser-based tool to generate secure and valid Laravel APP_KEY values for your Laravel projects. This utility creates a 32-byte random key encoded in Base64 format - the same format Laravel uses for encryption. No installation or PHP environment required. Open-source, privacy-friendly (no server calls), and designed to help developers quickly copy-paste secure keys into their .env file. Built entirely with HTML, CSS, and JavaScript.
Easily generate a secure and random Laravel
APP_KEYfor your Laravel applications.
π Live Preview:
π https://basemax.github.io/laravel-app-key-generator/
π¦ GitHub Repository:
π https://github.com/BaseMax/laravel-app-key-generator
A fast, browser-based tool to generate a new Laravel APP_KEY using JavaScript β no PHP or server needed.
- π Generates a valid
base64:Laravel APP_KEY - π Copy-to-clipboard functionality
- π§ MIT Licensed and open-source
- β‘ Fast and lightweight
- π Fully client-side, no backend calls
- Open the Live Preview.
- Click the "Generate" button.
- Click "Copy" to copy the key to your clipboard.
- Add it to your
.envfile:APP_KEY=base64:your-generated-key
base64:8Fmdmh3EfDw+67piVNMEaqe+dLoHcIUhNn9C7VJ3XOE=Clone the repository and open index.html in your browser:
git clone https://github.com/BaseMax/laravel-app-key-generator.git
cd laravel-app-key-generator
open index.htmlCreated by Max Base
Inspired by the Laravel framework and its need for strong encryption keys.
MIT License Β© 2025 Max Base