Small, fast React + Vite utility that creates customizable random strings (passwords, tokens, test data). Minimal, extendable, and ready for local development or quick deployment.
A single-page tool that generates random strings with options for length and character sets. Built to be lightweight, easy to read, and simple to extend.
- Quickly produce secure or test-ready random strings
- Handy for password generation, API tokens, or fixture data
- Serves as a clean Vite + React starter for utilities
- Configurable length
- Toggle character sets: lowercase, uppercase, numbers, symbols
- Copy-to-clipboard
- Fast dev feedback with Vite HMR
- Small codebase for easy customization
Random-String-Generator/
├─ index.html
├─ package.json
├─ vite.config.js
├─ eslint.config.js
└─ src/
├─ main.jsx # app entry
├─ App.jsx # UI + generator logic
└─ index.css # styles
-
Open PowerShell or CMD and go to your projects folder: cd c:\Users\Visweswara jeeru\Projects
-
Clone and install: git clone cd Random-String-Generator npm install
-
Start dev server: npm run dev Open the URL shown in the terminal (usually http://localhost:5173)
- npm run dev — start development server
- npm run build — create production build (dist/)
- npm run preview — preview production build
- npm run lint — run ESLint
- Set desired length.
- Toggle character sets (lower/upper/numbers/symbols).
- Click "Generate".
- Click "Copy" to copy the result to clipboard.
- Add presets (e.g., strong password, human-readable)
- Save history to localStorage
- Add entropy indicator or strength meter
- Add export (CSV/JSON) or API endpoint
- Port conflict: npm run dev -- --port 3000
- Reinstall dependencies: rm -rf node_modules package-lock.json && npm install
- Styles missing: ensure index.css is imported in main.jsx
MIT
Visweswara Jeeru — Last updated: November 26, 2025