Tools Home : HTML Tools : Extract Text

Click here to show HTML tools HTML Tools

Click here to expand XML tools XML tools

Click here to expand plain text tools Plain Text Tools

Click here to expand other tools Other tools

 Beta tools
 Add Tools Demo

Extract Text

This tool displays all text found within specified tags in an HTML document, either located at a specified web address or in a document uploaded from the user’s files.

Please click the ? buttons at the bottom right of each set of options for more information on that set.

For further information on this tool, please see the TADA Wiki's Extract Text entry here. A glossary of terms is also available here.


To extract and list text found between <p> and </p> from and display it within a new HTML page:
  1. Source text
    1. Enter ‘’ into the ‘URL’ field.
  2. Subtext limited to
    1. Enter ‘p’ in the ‘Elements’ field.
  3. Results
    1. Select ‘HTML’ from the ‘Display as’ drop-down menu.
  4. Click the ‘Submit’ button to process the text.
» Source text


This section determines the source of the document you wish the tool to process. HTML can be obtained either from a web address or by uploading a file.


Source URL
To use content from a web page, enter a full web address (URL) in the field provided. Copy and paste from your browser’s address bar for best results.

Local file
To upload an HTML (.html) file from your computer, choose ‘Local file,’ click ‘Browse,’ and select the file you wish to use from your directory.
» Subtext limited to
(separate multiple elements with a `,')

This section determines which HTML tags to extract text from.


Use this field to specify which HTML tag(s) to extract text from. Multiple tags must be separated by commas (ex: 'p, h1, h2'). This field defaults to 'body'.
» Results

This section allows the user to choose the format of the aggregated text.


Display as
This drop-down lists enables users to choose from several output formats: HTML, XML text in HTML, XML tree, and Tab delimited text. Note: XML outputs are not available for the Find Dates tool.

Display words before and after the pattern
Check this box to show the words that appear before and after the pattern in the results Note: Concordance only.

Open results in new window
Check this box to display the results in a new window or browser tab. This option is selected by default. Some pop-up blockers may prevent a new window from being opened; if so, un-check the box to open the results in the same window instead.
`*' indicates a required field



TAPoRware Project, McMaster University,