On this page9
Step by step
Right-click the text
Right-click the words you want to change and choose Inspect. Safari calls it Inspect Element.
Double-click it in Elements
The element is highlighted in the panel. Double-click the text between its tags.
Type the new words
Type your text and press Enter. The page updates at once.
Keep a copy
Copy the new wording or take a screenshot. A reload brings the original back.
Three ways to edit text on a page
| Way | How | Good for |
|---|---|---|
| Sitepeel’s Edit text tool | Choose Edit text, click any text and type | Trying new copy in the real layout, with undo |
| The Elements panel | Right-click > Inspect, double-click the text, press Enter | One exact change, with nothing to install |
document.designMode | One line in the Console makes the whole page editable | Many edits in a row |
| Edit as HTML | Right-click the element in the Elements panel > Edit as HTML | Changing words and tags together |

Use Inspect Element to change text
- Right-click the text and choose Inspect.
- In the Elements panel, double-click the text between the tags.
- Type the new text and press Enter.
- For a bigger change, right-click the element, choose Edit as HTML, then press Ctrl+Enter (Cmd+Enter on a Mac).
- Press Ctrl+Z (Cmd+Z) in the panel to undo.
Make the whole page editable
Open the Console (Ctrl+Shift+J in Chrome, or Cmd+Option+J on a Mac), type this line and press Enter. Then click anywhere on the page and type, as in a document.
- Set it to
offto stop editing. Your changes stay until you reload. - Chrome warns you before your first paste into the Console. The line is short: type it by hand.
document.designMode = 'on'Edit text with Sitepeel
In the Sitepeel Chrome extension, choose Edit text and click any words on the page. Type the new copy in place and press Esc when you are done. Ctrl+Z (Cmd+Z) undoes an edit.
It is made for trying a headline or a button label in the real layout. Like the other ways, it changes only your tab, and a reload brings the original back.
Find and replace text on a page
Ctrl+F (Cmd+F) finds text on a page but can’t replace it. To swap a word everywhere on the page you have open, run this in the Console, with your own words in place of old and new.
const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT);
while (walker.nextNode()) {
walker.currentNode.nodeValue = walker.currentNode.nodeValue.replaceAll('old', 'new');
}Why an edit doesn’t stick
| What happens | Why |
|---|---|
| The old text is back after a reload | The browser fetched the page again. Your edit was never sent to the site |
| The text snaps back by itself | The page’s scripts drew that part again and replaced your edit |
| You can’t click into the text | It is part of an image, a video or a canvas, not text |
| Other people still see the old text | Only the site’s owner can change what the server sends |
Change the text on your own website
- Built with WordPress, Wix, Squarespace or Shopify: sign in and change the page in its editor.
- Written in code: change the text in the source files and publish again.
- Not sure what it runs on? Sitepeel’s free tech stack checker names the CMS or site builder.
- Try the new wording in the live layout first, then make the real change.
Questions
How do I use Inspect Element to change text?
Right-click the text and choose Inspect. In the Elements panel, double-click the text between the tags, type the new words and press Enter. The page updates at once, only in your browser, until you reload.
Why can’t I edit a text on a page?
It may be inside an image, a video or a canvas, which hold no text to edit. Or the page’s scripts draw it again right after you type. Ordinary headings, paragraphs, links and buttons can be changed.
How do I edit an already existing website?
If it is yours, sign in to its CMS or site builder, or change the source files and publish. If it isn’t, you can only change your own view of it in your browser.
How do I change the text font on a website?
In DevTools, select the text and change font-family in the Styles pane. Sitepeel’s Swap fonts tool tries 2,100+ fonts on a page. Both are previews in your browser. On your own site, change the font in its theme or CSS.
Can other people see the text I changed?
No. The edit lives in your browser’s copy of the page. The website, and what everyone else sees, stays the same.





