This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene has been writing and editing tech content at wikiHow since 2019. She previously worked for AppleCare, served as a writing tutor, volunteered in IT at an animal rescue, and taught as an adjunct professor for EN101 and EN102. Darlene has completed Coursera courses on technology, writing, and language. She holds both a BA (2011) and an MA (2012) from Rowan University in Writing, with a focus on workplace communication. With her extensive experience, academic background, and ongoing learning, Darlene has become the go-to grammar expert for her friends and family, as well as a skilled wordsmith for anyone in need.
This article has been viewed 38,842 times.
Learn more...
This wikiHow will teach you how to remove HTML tags in Excel on your Windows or Mac computer by using the Find and Replace tool. You need to repeat this process to remove each different HTML tag including open and closing brackets and style tags.
Quick Steps
- Press CTRL + H.
- Type the HTML tag you want to delete.
- Leave the "Replace with" field blank.
- Click Replace All.
Steps
-
Open your project in Excel. You can either open the program within Excel by clicking File > Open, or you can right-click the file in your file explorer.
- This will work for Excel for Office 365, Excel for Office 365 for Mac, Excel for the web, Excel 2019, Excel 2016, Excel 2019 for Mac, Excel 2013, Excel 2010, Excel 2007, Excel 2016 for Mac, and Excel Starter 2010.
-
Press Ctrl+H. This keyboard shortcut will open the Find and Replace tool on both Mac and Windows, but it's also located in the Home tab, in the Editing group.[1]Advertisement
-
Type one of the HTML tags you want to delete into the "Find what" field. Remember to include the brackets
<>
that surround your HTML code.- For example, if you want to delete all of the <b> tags, you'd enter <b>.
- If you don't want to search for each HTML tag individually, you can use a wildcard (an asterisk) to automatically delete everything surrounded by
< >
brackets. You should only do this if you don't have any other types of tags surrounded by these brackets that you want to keep. To do this, enter<*>
into the "Find What" field.
-
Leave the "Replace with" field blank. This tells the program to look for those HTML tags you've entered and replace them with blank space.
-
Click Replace All. All HTML tags that match your search will be deleted.[2]
- If you entered
<*>
into the "Find What" field, every HTML tag will be deleted and you won't have to repeat this for other codes. - If you entered a specific tag instead of the asterisk variation, you can delete additional tags the same way. Enter the next tag you want to strip from the file, and then click "Replace All" to delete it throughout the document. [3]
- If you entered
Expert Q&A
Tips
References
- ↑ https://support.microsoft.com/en-us/office/find-or-replace-text-and-numbers-on-a-worksheet-0e304ca5-ecef-4808-b90f-fdb42f892e90#ID0EACAAA=Mac
- ↑ https://www.extendoffice.com/documents/excel/3456-excel-remove-html-tags.html
- ↑ https://www.extendoffice.com/documents/excel/3456-excel-remove-html-tags.html
About This Article
1. Open your project in Excel.
2. Navigate to the cell with the HTML tags you want to delete.
3. Press Ctrl + H .
4. Type the HTML tags in the cells that you want to delete in the "Find what" field.
5. Leave the "Replace with" field blank.
6. Click Replace All.