JavaScript Live Tester - Online Run & Debug Snippets
Write JavaScript code and see the output or console.log results immediately. Safe iframe sandbox. For quick experiments.
UD5 Toolkit
vite.config.ts file provides full type-checking and autocompletion for your Vite configuration when using the defineConfig helper from Vite. The JavaScript version (vite.config.js) works identically at runtime but lacks IntelliSense benefits. Both generate the same output — choose .ts if your project already uses TypeScript.
resolve.alias section of your Vite config. Common examples include mapping @ to ./src or @components to ./src/components. You'll also need to update your tsconfig.json (for TypeScript) with corresponding paths entries so your editor recognizes the aliases. Use the Resolve tab in this generator to visually add and manage aliases.
server.proxy configuration to forward API requests during development. For example, you can proxy all /api requests to a backend running on http://localhost:3000. This eliminates CORS issues during development and is configured in the Dev Server tab of this generator. Simply add your proxy rules with the source path and target URL.
build.minify to terser for better compression (though esbuild is faster), enabling build.cssCodeSplit, setting an appropriate build.chunkSizeWarningLimit, and using build.rollupOptions for manual chunk splitting. Also configure optimizeDeps to pre-bundle specific dependencies. Use the Build tab and Advanced tab in this generator to fine-tune these settings.
VITE_ (configurable via envPrefix) to your client code through import.meta.env. You can also use a .env file at the project root. For server-side config, you can use loadEnv() from Vite to access environment variables inside vite.config.js. Configure the env prefix in the Basic tab of this generator.
build.lib settings including entry point, library name, and output formats.
Write JavaScript code and see the output or console.log results immediately. Safe iframe sandbox. For quick experiments.
Enter a MIDI note number (0–127) or a musical note name and get the exact frequency in Hz. Piano keyboard picker.
Create a humorous fake GitHub profile screenshot with custom name, stars, and languages. Pure canvas prank.
Enter a CDN URL for a script or style and generate the integrity attribute with sha384 or sha512. Protect your site.
Evaluate the strength of your passwords with a visual meter and detailed feedback. Check for length, complexity, and breached passwords. All analysis is client-side.
Tune your guitar using the browser microphone. Detects pitch and shows deviation from standard tuning. No installation, pure client-side audio processing.
Press keys on your physical keyboard and see them highlighted on a virtual keyboard. Detects multi-key rollover. Quick hardware check.
Transform English text into pseudolocalized text with accents, expansion, and brackets. Test your UI's readiness for translation.
Enter a URL and see a waterfall of external scripts with their download size and execution time estimate. Identify performance culprits.
Convert decimal numbers to their hexadecimal equivalents. Support for large integers. Fast and handy for low-level programming reference.
Convert between Base32 encoded strings and hexadecimal. Work with low‑level data representations. All local.
Drag a virtual mineral across common items to understand scratch hardness. Interactive learning for jewelers.
Live cryptocurrency prices from public APIs. Clean ticker with percentage changes. Pure frontend, no account needed.
Rotate and view the 3D shapes of s, p, d, and f orbitals. Great for teaching quantum mechanics. WebGL‑based.
Paste text to see a live letter frequency bar chart. Helps break substitution ciphers. All local analysis.
Convert numbers between binary, octal, decimal, and hexadecimal bases. See real-time conversion as you type. Clean and simple programmer utility.
Enter a hex color and hear a tone mapped to its hue. Explore the connection between color and sound. Fun perceptual experiment.
Breakdown of expected costs (materials, appliances, etc.) for a tiny house. Adjust percentages or enter custom. Local calculation.
Visually configure scroll‑snap containers and items. Adjust alignment, stop behavior, and padding. Copy the clean CSS instantly.
Generate the MD5 hash of any text string. For quick integrity checks. All local computation.
Format a list of Q&A pairs and export as a CSV ready for Anki import. Simple line‑based template. Local.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Generate a random medieval occupation with a short description. For NPCs or historical curiosity. Local list.
Design a fully styled scrollbar with colors, width, radius, and hover effects. Supports both ::-webkit‑scrollbar and Firefox scrollbar‑width.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Generate a realistic‑sounding dinosaur name and see a fun description. Perfect for kids and writers.
Create a customizable checkerboard or grid background using pure CSS gradients. Adjust cell size and colors. Copy the code.
Upload a small pixel art image and get a CSS grid layout that recreates it using divs. Novelty developer tool.
Generate a random, funny or serious company slogan for your startup idea. Brainstorming helper. All local.
Generate a random, somewhat meaningful song lyric line. Write your own hit with AI‑free randomness. All local.