XSS Payload Sandbox - Online Test Escape Characters
Paste a potential XSS vector and see if it executes in a sandboxed iframe. For security researchers and education.
UD5 Toolkit
Configure, test, and generate iframe sandbox permissions in real-time
allow-scripts). Refresh iframe to re-run tests.
srcdoc instead of src for inline content. The sandbox attribute is additive — each token grants a specific capability.
sandbox attribute on an <iframe> element applies extra restrictions to the content embedded within it. When present without any value (i.e., sandbox=""), it blocks all privileged actions: scripts, forms, popups, plugins, and same-origin access are all disabled. You then selectively re-enable capabilities by adding tokens like allow-scripts, allow-forms, etc. It's a critical security mechanism for embedding untrusted third-party content.
allow-scripts and allow-same-origin are present, the iframe can execute JavaScript that has access to the parent page's origin — including cookies, localStorage, and DOM if same-origin. More critically, the iframe can remove its own sandbox attribute via JavaScript, completely escaping the restrictions. Never combine these two tokens for untrusted content. If you must use both, ensure the iframe content is fully trusted and served from a separate origin.
allow-scripts is off, JavaScript won't execute at all. (2) If allow-modals is off, alert() calls silently fail. (3) If allow-forms is off, form submissions are blocked. (4) If allow-popups is off, window.open() returns null. The test results panel above receives real-time feedback via postMessage from the iframe when scripts are allowed.
allow-popups, popup windows opened by the iframe will not inherit the sandbox restrictions. They open as fully-privileged windows. Without this token, popups also carry the sandbox limitations.allow-top-navigation, top-level navigation (changing top.location) is only permitted when triggered by a genuine user gesture (click, tap, keypress). This prevents automated redirects while still allowing legitimate user-initiated navigation.
allow-scripts, allow-same-origin, allow-forms, allow-popups, allow-modals, allow-top-navigation) are supported in all modern browsers including Chrome, Firefox, Safari, and Edge. Newer tokens like allow-popups-to-escape-sandbox, allow-top-navigation-by-user-activation, allow-downloads, and allow-presentation also have broad modern support but may be absent in older browsers. Always test your target browser matrix and provide fallbacks when necessary.
sandbox="" (empty) and add only the tokens you need.allow-top-navigation to prevent automated redirects.postMessage to communicate between iframe and parent rather than relying on same-origin access.Paste a potential XSS vector and see if it executes in a sandboxed iframe. For security researchers and education.
Enter a URL and see the full redirect chain with status codes and response times. Also validates against your chosen rule.
Paste a JSON Web Token and decode its header and payload. Verify signature if you provide the secret. Fully local.
Design borders with linear or conic gradients. Supports border‑image and background‑clip methods. Copy optimized CSS.
Browse Unicode by block: Latin, Cyrillic, CJK, Emoticons. See characters and copy with a click. Full reference.
Connect your MIDI keyboard and see pressed notes visually on a piano roll. Check velocity, channel, and aftertouch. No DAW needed.
Paste an HTML snippet and see how a screen reader might interpret it. Highlights missing alt texts and ARIA misuses. Educational.
Create CSS `easing‑gradient()` functions for smooth, non‑linear color transitions. Experimental and powerful. Copy the code.
Encode any text, including emojis and foreign scripts, into a Base64 string. Perfect for data URLs. Local.
Graph a cubic‑bezier or steps easing function and see a bouncing ball animation using it. Copy the CSS timing‑function.
Load a video and visually check if audio aligns with lips. Use frame‑by‑frame stepping. Debug playback issues.
Paste your Accept‑Language header and see which languages your site should serve based on quality values. Internationalization helper.
Connect to a WebTransport server and exchange data over QUIC. See latency and throughput. Perfect for exploring low‑latency real‑time APIs.
Simulate reduced motion preference and test your animations. Copy the media query snippet. Keep your users safe.
Register a service worker, subscribe to push, and send a test notification using a VAPID key pair. Step‑by‑step demo.
Override your browser's geolocation to any coordinates and test how your app responds. For development and privacy testing.
Test the Web Share API by sharing text, links, and files directly from the browser. Check compatibility and see example code.
Check if your browser and display support the wider DCI‑P3 color space. See the difference with a simple test pattern.
Enter any phrase and instantly see if it's a palindrome, ignoring spaces and punctuation. Fun for word nerds.
Write JavaScript code and see the output or console.log results immediately. Safe iframe sandbox. For quick experiments.
Generate random, formatted ID numbers that match pattern rules for various countries. For testing input validation. No real data.
Type raw HTML and see the escaped version, then see how it renders when unescaped. Understand encoding better.
Pick a method, URL, headers, and body, then send an HTTP request directly from your browser. Debug APIs easily.
Quickly test if your webcam, microphone, and speakers work correctly. See live video and audio meter. No data sent.
Generate random but realistic‑looking data arrays (users, products, orders) with typos and missing fields. For test robustness.
Simple interactive eye dominance test: hold up a virtual dot and see which eye stays aligned. Educational.
View a series of digital Ishihara‑style plates. Not a diagnostic tool, just educational. Read numbers.
Simulate random mouse moves, clicks, or keystrokes to test idle‑timeout logic. Stops when you move the mouse. Dev test.
Paste any iframe embed code (YouTube, maps) and get a responsive wrapper div with correct aspect ratio CSS.
Paste a test card number to verify Luhn algorithm, identify issuer (Visa, MC), and check length. No real data.