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🥇
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 · 3,148 views · 28 clicksSaaS · Week 45 · 3,148 views · 28 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 40,548 views · 217 clicksWebsite · Week 45 · 40,548 views · 217 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 38,646 views · 111 clicksSaaS · Week 45 · 38,646 views · 111 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 57,688 views · 197 clicksSaaS · Week 45 · 57,688 views · 197 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 27,116 views · 119 clicksDesktop App · Week 45 · 27,116 views · 119 clicks
#6
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 · 3,038 views · 18 clicksWebsite · Week 45 · 3,038 views · 18 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
1,732 views · 16 clicksWeek 45 · 1,732 views · 16 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
1,619 views · 13 clicksWeek 45 · 1,619 views · 13 clicks



