Free URL to HTML - View Page Source and Download HTML of Any Web Page

Description
What it does: a visitor pastes the address of a web page and sees the page's HTML source code exactly as the server sends it, the same thing a desktop browser's view-source shows, before any JavaScript runs. The source appears in a code view with syntax highlighting and line numbers, a find box that marks every match and jumps between them, and a line-wrap switch. Minified pages that arrive as one long line can be pretty-printed with one element per line, or any page minified. Next to the source the visitor sees the facts of the answer: HTTP status, final address after redirects, number of redirects, content type, charset, size, lines, and counts of elements, scripts, and comments. Plain notes say when the page was cut at the size limit, when a bot shield answered with a check page instead of the page, when the page builds its content with JavaScript, and when the page's meta charset disagrees with the one the server names. The visitor copies the source or downloads it as an .html file. HTML and XML both work, including RSS feeds, sitemaps, and SVG.
It is honest about what it is: the HTML the server sends to a tool, without your cookies or login, not the live page after scripts run (that is what the browser's inspector shows). Error pages are reported with their status instead of being shown.
Who it is for: developers checking what a server really sends, SEO specialists checking meta tags, canonical links, and structured data in the raw HTML, students learning how pages are built, and anyone on an iPhone, iPad, or Android phone, where browsers have no view-source. And site owners who want their own free view-source page.
What you get: the complete tool as one Cloudflare Worker for your own account and domain: the page, a JSON API with the source, facts, and notes, and a plain-text API that answers the source (as sent, pretty-printed, or minified), with no database, no API key, no dependencies, the Cloudflare free plan is enough. Settings (name, color, sub-path, limits) are in one config file, every text is in one file. Tests and HTML documentation included.
What you do: run npx wrangler deploy, or try it first with npx wrangler dev. Then share the page (links with ?url= show a source at once) or call api/run?url=...&format=text from your scripts.
Features
- The HTML source of any public page exactly as sent, character for character, in its own charset (UTF-8, Windows-1251, KOI8-R, Shift_JIS, ...)
- Syntax highlighting for tags, attributes, values, comments, doctype, entities, and script and style code
- Line numbers that are never copied with the text, line wrap on by default, with a switch
- Find in the source: match count, Enter and Shift+Enter, Previous and Next, Ctrl/Cmd+F inside the view
- Pretty-print minified HTML (block elements on their own indented lines, scripts, styles, pre, and textarea kept as sent) or minify it
- Response facts: status, final address, redirects, content type, charset, size, lines, elements, scripts, comments
- Notes for bot-check pages, JavaScript-built pages, pages cut at 5 MB, redirects, and charset mix-ups
- Copy, or download as .html (or .xml), named after the address
- HTML and XML: RSS and Atom feeds, sitemaps, SVG
- Made for big pages: a 5 MB source with 100,000 lines draws only the lines you scroll to, and find jumps to any match at once
- Safe by design: the source is shown only as text, so nothing in it runs or loads, one page per request, no crawling, public addresses only (checked on every redirect), an honest User-Agent, a per-visitor limit, nothing stored
- Accepts view-source: addresses, shareable links with ?url=, works on phones, with the keyboard, and inside a frame
Screenshots




Try it live: https://codemarket-live.codemarket.workers.dev/url-to-html/ (no login needed).
Categories
Tags
Built with
Products of the Week.
Submit🥇
Costcodle
Costcodle is a free, daily price-guessing game for Costco shoppers who want to test their sense of value by estimating items within six tries.
Other · 302 views · 8 clicksOther · Week 43 · 302 views · 8 clicks
🥈
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 673 views · 15 clicksSaaS · Week 43 · 673 views · 15 clicks
🥉
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 660 views · 13 clicksWebsite · Week 43 · 660 views · 13 clicks
#4
autoadify.com
Autoadify helps businesses, creators, marketers, agencies, and ecommerce teams reduce the time spent creating, scheduling, approving, and publishing social media content. It combines AI content creation, automation, ecommerce workflows, and multi-platform publishing in one place, making social media management faster and easier to scale.
Other · 3,732 views · 9 clicksOther · Week 43 · 3,732 views · 9 clicks
#5
Ecomz AI | Multi-Tenant SaaS
Launch your own branded AI e-commerce platform without building the software from scratch. Ecomz AI provides a white-label, source-code/business-in-a-box solution that lets you offer merchants online stores, branded mobile apps for each shop, AI-powered sales and support agents, a unified inbox, a customisable drag-and-drop page builder, Ecomz Appstore integrations, and subscription plans you control under your own SAAS brand/hosting/business.
Other · 6,697 views · 18 clicksOther · Week 43 · 6,697 views · 18 clicks
#6
Whisper Notes - Best Offline
Whisper Notes turns speech into text entirely on your iPhone or Mac — no internet, no account, and your audio never leaves the device. Pick Whisper, Parakeet V3 or SenseVoice for 100+ languages, transcribe recordings and imported audio or video files with speaker labels, and on the Mac direct download hold Fn to dictate into any app. One-time purchase: $7.99 on iPhone, $14 on Mac, with 5,000 free words a week on Mac.
Other · 6,612 views · 14 clicksOther · Week 43 · 6,612 views · 14 clicks