To edit an existing HTML website, download a full copy of the site's files from your web host, keep an untouched backup, open the site folder in an HTML editor on your PC, make and preview your changes, check the links, then upload only the files you changed. Working on a local copy rather than the live server means a mistake never reaches your visitors. The whole process needs no special access beyond your hosting login.
This guide covers getting the files, making safe edits, the most common changes people need, and publishing your updates without breaking anything.
Step 1: Get a complete copy of your website
A static HTML website is just a folder of files: pages ending in .html or .htm, stylesheets ending in .css, scripts ending in .js, and images. You need all of them, in the same folder structure they have on the server.
The usual ways to get them are:
- SFTP or FTP program: connect with the details from your host and download the whole public folder (often called
public_html,wwworhtdocs). - Your host's file manager: many control panels let you compress the folder into a ZIP file and download it.
- Whoever built the site: a web designer or former colleague may already have the original files.
Avoid saving pages from your browser with "Save page as". It often changes the code, flattens folders and misses files, so the result is not a reliable copy of your site.
Step 2: Make a backup before you touch anything
Before editing, copy the whole folder somewhere safe and name it with the date, for example mysite-backup-2026-10-17. Do not edit this copy. If anything goes wrong, you can compare against it or upload it again.
Check whether the site contains anything that is not plain HTML, such as .php files, a .htaccess file or a database connection. Those still work after editing, but they may need a server to preview properly, and you should not delete them.
Step 3: Open the site folder and find your way around
Open the whole folder, not just a single page, in your HTML editor. Opening the folder lets the editor understand how pages link to each other and where images live, which matters when you rename or move anything.
Spend a few minutes getting oriented:
- Find the home page. It is almost always
index.htmlin the top folder. - Find the main stylesheet. Look in the
<head>of any page for a line such as<link rel="stylesheet" href="css/style.css">. That file controls the site's colors, fonts and layout. - Notice repeated parts. On many static sites the header, menu and footer are copied into every page, so changing the menu means changing every file.
If the folder is a mess, our guide to website folder structure explains how a tidy site is usually laid out.
Step 4: Make your changes safely
Here is how to handle the edits people most often need.
Changing text
Click into the text in a visual editor and type, or find it in code view. Keep the surrounding tags intact. If a heading is wrapped in <h2>...</h2>, change the words between the tags, not the tags themselves.
Replacing an image
The simplest approach is to give the new image the same file name and put it in the same folder as the old one. Every page that uses it then updates automatically. If you use a new file name, update the src path and the alt text on each page that shows it.
Updating details that appear on every page
Phone numbers, addresses and copyright years often appear on every page. Use a site-wide find and replace, preview the matches, and then replace. Our guide on find and replace across a whole website covers this in detail.
Adding a new page
Duplicate an existing page that has the layout you want, rename it (lowercase, hyphens, no spaces, such as new-services.html), replace the content, update its title and description, then add a link to it in the menu on every page.
Step 5: Preview and check before you publish
Before uploading anything, run through this checklist:
- Open each changed page in preview and in your normal browser.
- Check it at phone width as well as desktop width.
- Click every link you touched, plus the main menu.
- Run a broken link check across the whole site if your editor has one.
- Compare a changed file with your backup if you are unsure what changed.
Step 6: Upload only what changed
Connect to your host and upload the changed files into the same folders they came from, replacing the old versions. Uploading only what changed is quicker and reduces the chance of overwriting something by accident. New images and new pages need uploading too.
Then visit the live site. If you still see the old version, your browser has probably cached it. A hard refresh (Ctrl+F5) usually fixes that; see website changes not showing after upload if it does not.
| Mistake | What happens | How to avoid it |
|---|---|---|
| Editing directly on the server | Visitors see errors as you work | Edit a local copy and upload when ready |
| Renaming a page without updating links | Broken links from other pages | Use an editor that updates links, then check |
| Uploading to the wrong folder | Changes never appear | Match the exact folder the file came from |
| No backup | No way back from a mistake | Copy the folder before every round of edits |
The easier way: open any HTML site folder in Apollo Editor
Apollo Editor is a Windows 10 and 11 desktop app built for exactly this kind of job. It opens ordinary HTML and HTM files and whole website folders, and it can import a website ZIP file, so you can work on the copy you downloaded from your host.
- Your code is respected: it preserves existing source and formatting where possible, does not silently remove unfamiliar elements, and tells you when a page is too complex to edit visually.
- Site Explorer with search and find and replace across files, broken link detection, and automatic internal link updates (after asking) when you rename or move pages.
- Design, Split and Code modes, plus Preview at desktop, tablet and mobile sizes.
- Optional publishing over FTP, FTPS or SFTP that identifies changed files and keeps a publishing log.
Your site stays plain HTML, and any Apollo-specific settings are stored separately, never inside your pages. See the feature list for more.
Frequently asked questions
How do I get the files of my existing website?
Download them from your web host with an FTP or SFTP program, from the host's file manager, or ask whoever built the site for a copy.
Can I edit my website directly on the server?
Some hosts allow it, but it is safer to edit a copy on your PC, preview it, and upload the changed files when you are happy.
Will editing in a visual editor change my HTML code?
A good editor keeps your existing code and formatting and only changes what you edit. Always keep a backup copy before you start.
