📣 Requestly – Modern git-based API Client. No login required. Switch from Postman in 1 click. Try now ->

Insert script

Test live changes with inject scripts, no code edits

Inject Custom JavaScript & CSS​

Add Custom Attributes to <Script> tag​

Run Local Scripts on Production​

Download Now
Documentation ->
4.5 ⭐  1700+ Ratings, 300,000+  developers
Redirect URLs

Trusted by 300,000+ developers from Fortune 500 companies.

Trusted by teams at… Trusted by teams at… Trusted by teams at… Trusted by teams at… Trusted by teams at… Trusted by teams at… Trusted by teams at… Trusted by teams at… Trusted by teams at…
insert script rule editor 2
insert script rule editor

Easily insert custom scripts into any webpage

Test features, debug issues, or modify behavior without changing the original code. Perfect for quick experiments and faster development.
insert custom js and css on any website - insert script rule editor

Inject Custom Js and CSS on any webpage​

Add custom JavaScript and CSS snippets to any webpage without altering the original source code. This capability enables you to test new features, debug issues efficiently and seamlessly.
Download Now
Learn more ->
run local js on production - insert script rule

Run Local JS on Production​​

Debug and test changes directly on your production environment using local JavaScript files, ensuring the live user experience remains unaffected.
Download Now
Learn more ->
imultiple scripts support - nsert script rule

Multiple Scripts Support​​

Supports the execution of multiple scripts simultaneously on a webpage.
Download Now
Learn more ->

Collaboration & 1-Click Sharing

Promote consistency and accelerate development by sharing Requestly rules within your team.
collaboration 1 click sharing

Built for teams

Effortless team collaboration

Share instantly, sync effortlessly, and collaborate effectively with your team in dedicated workspaces.

Quick One time sharing

Instantly generate and share a link to your rules and more

Team workspaces

Collaborate easily with teammates in a shared workspace.

Export data & sync to Git

Easily version-control your configs by exporting and syncing

Secure and private

Enterprise-ready security and compliance

Requestly ensures top-tier security with SOC-II compliance, SSO integration, and role-based access control. We protect your data and secure your workflows, making us the ideal choice for enterprises.
Requestly security and compliance

SOC-II Compliance

Adheres to rigorous security standards for data protection and privacy.

Single Sign-On (SSO)

Simplifies user access with secure, centralized authentication.

Role-based access control

Ensures precise control over user permissions and data access.

Data encryption

Protects your data in transit and at rest with advanced encryption protocols.

Audit logs

Tracks and records user actions and system events, giving you complete visibility.

Regular security updates

Keeps your environment secure with timely updates and patches.
Customers love us

Loved by developers around the World

Developers around the world trust us to simplify debugging, speed up workflows, and make development more efficient.

Frequently Asked Questions​

There are frequently asked questions related to Requestly

What does the Insert Script rule do in Requestly?

The Insert Script rule lets you inject custom JavaScript into any webpage without modifying the website’s source code. This helps you debug applications, test UI changes, override browser behavior, or run custom scripts directly in your browser.

Where can the injected script run?

You can inject scripts on specific webpages, domains, paths, or URL patterns. The script runs only on pages that match your configured conditions.

Is Requestly open-source

Is the Insert Script rule available in the free plan?

Yes. Requestly offers a Free plan with essential features like unlimited header rules and standard HTTP modifications, perfect for getting started.

Does Requestly offer an enterprise plan?

Yes. Requestly offers an Enterprise Plan built for larger teams and organizations that need full control and compliance. It includes unlimited usage, API access, SSO & SAML, GDPR and SOC 2 compliance, user access management, SLAs for support and uptime, invoice-based billing, and priority support via Slack Connect, Email, and Chat.

Is Requestly free for students?

Yes! Requestly is free for students, enjoy access to powerful tools and features with no cost.

My injected script is not running. What should I check?

First, make sure the rule is enabled, the URL matching condition is correct, and the current page matches your configured pattern. Then refresh the page after saving the rule.

Why is my script working on some pages but not others?

The URL pattern may not match all pages, or some pages may load content dynamically after the initial page load. Verify your matching condition and test against the exact page URL.

Why Aren’t My Requestly Rules Working?

How do I inject custom JavaScript into a webpage using Requestly?

Create an Insert Script rule, add the target webpage URL in the source condition, paste your JavaScript code or script URL, save the rule, and refresh the page. Your script will run automatically on matching pages.

How do I test UI changes without modifying the application code?

Use the Insert Script rule to change text, hide elements, update styles, or add new UI components directly in the browser. This helps you validate UI ideas before making code changes.

How do I load an external debugging library on a webpage?

Create an Insert Script rule, provide the external script URL or library code, target the required webpage, save the rule, and reload the page. The library will load automatically on matching pages.