This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for wikiHow. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities.
This article has been viewed 17,605 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.
Steps
-
1Open 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.
-
2Press 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
-
3Type 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.
-
4Leave the "Replace with" field blank. This tells the program to look for those HTML tags you've entered and replace them with blank space.
-
5Click 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
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.