SQL Injection Simulator - Online Educational Sandbox
Test SQL injection inputs on a mock database and see the resulting query. Learn how to prevent SQLi. No real data.
UD5 Toolkit
Online Retro Code Playground β Write, Run & Relive the 8-bit Era
ZX Spectrum BASIC is the built-in programming language of the ZX Spectrum home computer, released in 1982 by Sinclair Research. It's a dialect of BASIC (Beginner's All-purpose Symbolic Instruction Code) designed by Steve Vickers. Every ZX Spectrum booted directly into its BASIC interpreter, making programming instantly accessible. Key features include line-numbered program storage, floating-point arithmetic, string handling, and direct screen/color control via commands like INK, PAPER, BORDER, PLOT, and DRAW.
This emulator supports a comprehensive subset including: PRINT (with AT, TAB, ;, ,), LET, GOTO, IF...THEN, FOR...NEXT (with STEP), GOSUB...RETURN, INPUT, CLS, REM, PAUSE, BEEP, PLOT, DRAW, CIRCLE, BORDER, PAPER, INK, BRIGHT, FLASH, RANDOMIZE, STOP, DIM, and CLEAR. Functions include RND, INT, ABS, SGN, SQR, SIN, COS, TAN, ATN, EXP, LN, LEN, STR$, VAL, CHR$, CODE, and PI.
The screen simulates the ZX Spectrum's 256Γ192 pixel resolution with a 32Γ24 character text grid. Each character cell is 8Γ8 pixels. Color attributes (INK and PAPER) apply per 8Γ8 cell block, just like the original hardware. The canvas renders at native 256Γ192 resolution and is scaled up via CSS with image-rendering: pixelated for an authentic retro look. The rainbow border mimics the classic Spectrum loading screen aesthetic.
Yes! The emulator is fully responsive. On tablets and phones, the layout stacks vertically with the Spectrum screen on top and the editor below. All buttons are touch-friendly, and the code editor adjusts its height for comfortable typing. The canvas scales down to fit smaller screens while maintaining its 4:3 aspect ratio.
When the emulator encounters an INPUT statement, it pauses execution and displays a prompt in a modal dialog. Enter your value and click Submit to continue the program. For INPUT with a prompt string (e.g., INPUT "Enter name:"; n$), the prompt text appears both on the virtual screen and in the dialog. String inputs should be entered without quotes; numeric inputs must be valid numbers.
Line numbers are fundamental to ZX Spectrum BASIC. Each program line must begin with a number (1β9999), which determines execution order and serves as a target for GOTO, GOSUB, and FOR...NEXT loops. Lines are executed in ascending numerical order unless a jump instruction redirects flow. Without line numbers, the interpreter cannot store or sequence your program β this mirrors the original Spectrum's behaviour exactly.
The BEEP duration, pitch command uses the Web Audio API to generate tones. While not a perfect emulation of the Spectrum's single-channel piezo speaker, it produces recognizable beeps with duration in seconds and pitch in Hz (approximate). The original Spectrum used a different pitch encoding, so we've mapped it to frequency values that sound reasonable. Ensure your browser allows audio autoplay for the best experience.
Yes! Click the Export button to download your BASIC program as a .bas text file. You can share this file with others or re-import it by pasting the contents back into the editor. The exported file contains plain text with line numbers, making it compatible with other ZX Spectrum tools and emulators. You can also simply copy-paste code between browser sessions.
Test SQL injection inputs on a mock database and see the resulting query. Learn how to prevent SQLi. No real data.
Play a metronome with adjustable BPM, time signature, and subdivisions (eighth, triplet, sixteenth). Tap tempo and visual flash. Works offline for practice.
Paste your Swagger/OpenAPI YAML and see a rendered API documentation preview with expandable endpoints. All local rendering.
Pick a package name and generate a custom version or download badge as a static image or Markdown link. For readme files.
Upload a 512x512 logo and get resized icons for every PWA requirement. Download a zip and the corresponding manifest.json snippet.
Validate and compare semantic version strings. Check if a version satisfies a range (e.g., ^1.2.3). Visual breakdown of major.minor.patch. Local only.
Design a custom keyboard layout and save it as an image to help learn touch typing on a custom keymap. Supports ANSI, ISO, and ortho layouts.
Parse XML strings into compact JSON representation. Handles attributes and text nodes intelligently. Quick and private, ideal for API response translation.
Generate a series of semantic version tags with optional prefixes. Copy for your release script. Consistent tagging.
Validate if a version string follows SemVer 2.0.0. Also sort and compare versions. Developer tool.
Paste a GraphQL SDL schema and get autoβgenerated Markdown documentation. Perfect for API docs. All local.
Paste JSON-LD and validate basic syntax and required properties for Article, Product, etc. Local only. Instant feedback.
Enter total rail length and baluster width to get exact spacing for code compliance. Visual layout.
Paste Markdown and get warnings for common mistakes: inconsistent heading spacing, bare URLs, and broken links. All local.
Paste two Markdown texts and see a sideβbyβside diff with rendered preview. Perfect for editing and collaboration.
Translate YAML configuration files into JSON format instantly. Validate syntax during conversion. Perfect for DevOps and configuration management. Secure client-side operation.
Reduce the number of colors in an image to a retro 8βbit look. Uses median cut quantization in the browser. Preview and download the stylized result.
See your website inside iframes at multiple breakpoints simultaneously. Sideβbyβside responsive testing.
Force more or less contrast and see how your page adapts. Test your CSS media queries for accessibility.
Generate a random sequence of button presses that looks like a retro game cheat code. Totally useless, totally fun.
A dedicated color picker with common retro gaming palettes (NES, Gameboy). Pick and copy hex codes. For pixel art creators.
Create a customizable scrolling marquee banner. Copy the HTML and CSS. For retro web projects or fun.
Turn any photo into a mosaic of colored blocks or pixel art. Choose block size and palette. Download as PNG. Pure canvas.
Add a warm, orange light leak to your photo for a vintage film look. Adjust intensity and angle. Instant download.
Keep a virtual pet alive by feeding, playing, and cleaning. Its state persists in localStorage. Come back or it gets sad.
Simulate a fullβpage screenshot by stitching screen captures (limited). Works best on simple pages. Use browserβs native capture.
Control a lunar module and try to land softly on the moon. Manage fuel and thrust. Classic arcade physics. Canvas.
Play the classic Snake game inside your browser. Arrow keys to move, eat the apple, grow longer. High score tracked locally.
Display a stylish retro flip clock or Nixie tube clock in full screen. Perfect for desk presentation or decoration. Pure CSS and JS.
Generate classic retro sound effects (coin, jump, explosion) using oscillators and noise. Play and download as WAV. Web Audio API fun.