---
title: "Replace"
description: "Realize the speed, agility and performance of a scalable, composable web architecture with Netlify. Explore the composable web platform now!"
source: "https://www.netlify.com/integrations/replace/"
last_updated: "2026-07-26T06:50:04.000Z"
---
[Back to Templates](/integrations/templates)

## Details

-   Need Help?[Contact Netlify Support](https://www.netlify.com/support/)
-   More Info
    -   [npm package](https://www.npmjs.com/package/@helloample/netlify-plugin-replace)
    -   [Review release notes](https://github.com/ample/netlify-plugin-replace/changelog)
    -   [Read docs](https://github.com/ample/netlify-plugin-replace#readme)
    -   [Report an issue](https://github.com/ample/netlify-plugin-replace/issues)

Netlify will deploy whatever you stick in your publish directory. This is great for simple use-cases but for projects that span multiple environments or rely heavily on environment variables, it can be tricky manage those differences without resorting to gnarly sed scripts or other unmentionable approaches.

This build plugin solves that problem by replacing references to environment variables after your project is built. A great example of this plugin’s power is dynamically updating your \_redirects file based on its deployment context.