Website to Text API

POST

Read clean, tag-free text and metadata from any webpage.

Website to Text converts any webpage URL into plain text stripped of HTML tags. It returns the extracted body copy, page title, meta description, publication date, and detected language code.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/websitetotext
Body
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "date": null,
    "description": "Use Amazon EC2 for scalable computing capacity in the AWS Cloud so you can develop and deploy applications without hardware constraints.",
    "title": "What is Amazon EC2?",
    "title_alt": "What is Amazon EC2?",
    "text": "Amazon Elastic Compute Cloud (Amazon EC2) provides on-demand, scalable computing capacity in the Amazon Web \t\tServices (AWS) Cloud. Using Amazon EC2 reduces hardware costs so you can develop and deploy \t\tapplications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you \t\tneed, configure security and networking, and manage storage. You can add capacity (scale up) \t\tto handle compute-heavy tasks, such as monthly or yearly processes, or spikes in website \t\ttraffic. When usage decreases, you can reduce capacity (scale down) again.  An EC2 instance is a virtual server in the AWS Cloud. When you launch an EC2 instance,     \tthe instance type that you specify determines the hardware available to your instance.      \tEach instance type offers a different balance of compute, memory, network, and storage      \tresources. For more information, see the Amazon EC2 Instance Types Guide.  Amazon EC2 provides the following high-level features:  Amazon EC2 supports the processing, storage, and transmission  of credit card data by a merchant or service provider, and has been  validated as being compliant with Payment Card Industry (PCI) Data Security Standard (DSS).  For more information about PCI DSS, including how to request a copy of the AWS PCI Compliance Package,  see PCI DSS Level 1.  You can create and manage your Amazon EC2 instances using the following interfaces:  Amazon EC2 provides the following pricing options:  For a complete list of charges and prices for Amazon EC2 and more information about the purchase \t\t\tmodels, see Amazon EC2 pricing.  To create estimates for your AWS use cases, use the AWS Pricing Calculator.  To estimate the cost of transforming Microsoft  workloads to a modern architecture that uses open source and \t\t\t\tcloud-native services deployed on AWS, use the AWS  Modernization Calculator for Microsoft Workloads.  To see your bill, go to the Billing and Cost Management  Dashboard in the AWS Billing and Cost Management  console. Your bill contains links to usage reports that provide details \t\t\t\tabout your bill. To learn more about AWS account billing, see AWS Billing and Cost Management User  Guide.  If you have questions concerning AWS billing, accounts, and events, contact AWS Support.  To calculate the cost of a sample provisioned \t\t\t\t\tenvironment, see . When calculating the cost of a provisioned \t\t\t\tenvironment, remember to include incidental costs such as snapshot storage for EBS \t\t\t\tvolumes.  You can optimize the cost, security, and performance of your AWS environment \t\t\t\tusing AWS Trusted Advisor.  You can use AWS Cost Explorer to analyze the cost and usage of your EC2 instances. You can view  \t\t\t\tdata up to the last 13 months, and forecast how much you are likely to spend for the next  \t\t\t\t12 months. For more information, see \t\t\t\tAnalyzing your costs and usage with  AWS Cost Explorer in the AWS Cost Management User Guide.",
    "language": "en",
    "publisher": null,
    "url": "https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts"
  }
}

About the Website to Text API

Website to Text works by parsing the HTML content of a website and extracting the text. Text extraction is done by removing the HTML tags and returning the plain text content. Advanced algorithms are used to ensure accurate text extraction.

What people use it for

LLM Pipeline Ingestion
Strip markup from linked articles and feed clean body copy directly into document chunking or vector embedding workflows.
News Monitoring Feeds
Media tracking platforms collect publication dates, publisher names, and article text from press releases across multiple news outlets.
Automated Translation Routing
Before translating external blog posts, read the detected language code and raw text to route content to the correct localization queue.
Archival Search Indexing
Internal search crawlers pull page titles, meta descriptions, and article text from saved URLs to populate full-text database indexes.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Website to Text

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Website to Text API.

Read the docs
How far does the Starter plan go for webpage conversions?
Starter covers 20,000 webpage conversions each month at 10 credits per request. That works out to about $0.0015 per conversion, or $1.50 per 1,000 pages. The Free plan includes 20 conversions per month to test the extractor.
Is the extracted webpage text fetched in real time?
Yes. Website to Text accesses the target URL in real time when you send the request. It parses the live HTML directly rather than returning a cached version of the page.
Does the output include page metadata in addition to text?
Yes. Along with the complete extracted body text, the response includes the primary page title, alternative title, meta description, publication or modification date, detected language, and publisher.
Does it identify the language of the extracted webpage?
Yes. The response includes a detected language code for the content, such as 'en'. This helps you route or categorize incoming text automatically before analysis.
How does it handle HTML tags and page formatting?
All HTML tags are removed during processing to isolate the core readable content. The endpoint returns plain text, eliminating the need to write custom HTML scrapers or regex cleanup scripts.

Ready to build with Website to Text? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs