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.
Look at HTTP headers and JavaScript objects to guess which browser extensions might be installed. For awareness.
Paste response headers string and get a security audit. Check presence and configuration of key security headers. Local analysis.
Test if a script or style will be allowed by a given CSP. Compute hash/nonce. Strengthen your site’s defense against XSS. Local.
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.
Test required, pattern, minlength etc. See validity states and custom error messages. Learn browser‑native validation.
Paste a robots.txt file and validate its syntax. See if a specific user‑agent can access a path. Essential for webmasters.
Paste an HTML snippet and see how a screen reader might interpret it. Highlights missing alt texts and ARIA misuses. Educational.
Browse Unicode by block: Latin, Cyrillic, CJK, Emoticons. See characters and copy with a click. Full reference.
Design borders with linear or conic gradients. Supports border‑image and background‑clip methods. Copy optimized CSS.
Paste a website's HTML and see which text is only visible to screen readers (e.g., .sr‑only). Preview the accessible layer.
See your monitor's color depth and pixel depth. Detect if HDR or wide gamut is available using media queries.
Create a polished HTML email signature with your photo, links, and company details. Live preview and copy HTML to clipboard. Works with Gmail, Outlook, Apple Mail.
Type your name and create a stylized ASCII text banner for email signatures or forum posts. Choose a font style.
Compare two text blocks and highlight differences line by line. Ideal for code review and document revisions. All diffs computed locally for privacy.
Compose messages with bold, italic, links, and code. See the raw HTML or Markdown for your Telegram bot API calls.
Paste a user agent string to get a human-readable breakdown of browser, operating system, and device. See your own current agent info automatically.
Design a clean, professional email signature with your photo, links, and disclaimers. Copy the HTML to use in Gmail/Outlook.
Enter HTML with aria-labels and see what a screen reader would announce. Simulates common patterns. Local educational tool.
Simulate a traceroute by entering a destination IP. Learn about AS paths and latency. Does not send real packets; educational visualisation.
Parse a URL's query string into a key-value table, or build a query string from parameters. Perfect for API testing and web development.
Paste two JSON objects and find the structural differences with side‑by‑side highlighted output. Indispensable for API debugging.
Draw pixel art with a grid, color palette, and eraser. Export as PNG. Perfect for game developers and hobbyists.
Create custom traceable handwriting worksheets with name or sentence. Print in dotted font. Great for teachers and parents.
Graph a cubic‑bezier or steps easing function and see a bouncing ball animation using it. Copy the CSS timing‑function.
Draw walls on a grid and watch A*, Dijkstra, or BFS find the shortest path. Interactive animation. Learn graph traversal.
Register a periodic background sync and see the status. Schedule content updates for your PWA. API demo.
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.