Delete HTML Tags
cross-browser testing tools
World's simplest online HTML tag remover for web developers and programmers. Just paste your HTML in the form below, press the Strip Tags button, and you'll get HTML's inner text. Press a button – get text. No ads, nonsense, or garbage.
Announcement: We just launched Online Number Tools – a collection of browser-based number-crunching utilities. Check it out!
Using a HTML Tag Remover in Cross-browser Testing
A HTML tag remover can be useful if you're doing cross-browser testing. For example, if your web application allows user input, such as comments, or other free-text input fields, then users can try to inject invalid data in your application by adding HTML tags to the input. To write secure applications, you need to remove these tags and just leave the text that's between the tags. If it's a comment, then users can sometimes use the <b> tag to try to make the comment bold, or <sup> or <sub> tags to move the comment up or down. You still want to preserve the comment and just remove the tags. With this utility, you can create tests for your application that makes sure HTML tags are correctly stripped. The input cases for your tests would be data or text with HTML tags and the output cases would be simply the contents of the tags. Another use case is extracting all text information from a HTML document. If you paste it in this tool, then in the output you'll get just the text and no tags.
Looking for more web developer tools? Try these!
Pro tip: You can use ?input=text query argument to pass text to tools.