There doesn't seem to be such a built-in feature.

Copying the entire page into some other app (web or desktop) for replacing text causes partial loss/distortion of formatting when pasting the content back.

2 Answers 2


Go into HTML mode, copy the HTML to a text-editor (notepad or suchlike) and do the change there.


This can be done by running the following appscript via https://script.google.com/ :

function searchAndReplace() {

  page = SitesApp.getPageByUrl('https://sites.google.com/....');
  var html = page.getHtmlContent();
  html = html.replace(/old/, "new");


Obviously, you should replace old and new with your own strings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.