Convert a website to Markdown
Get the readable content of any web page as clean Markdown, after its JavaScript has run. Paste it into ChatGPT, Claude or your own AI pipeline without menus, cookie banners and scripts.
Enter an address and press Convert.
Free for 10 captures a day, no sign-up. Pages are rendered in real Chrome on our servers and not stored.
Do this from your own code
This tool is the shotsmith API with a form in front. The same request from your app, with a free key (100 renders a month):
// npm install @shotsmith/sdk
import { Shotsmith, TakeOptions } from '@shotsmith/sdk';
import { writeFile } from 'node:fs/promises';
const shotsmith = new Shotsmith({
accessKey: 'YOUR_ACCESS_KEY',
});
const options = TakeOptions.url('https://example.com')
.format('markdown')
.blockCookieBanners()
.blockAds();
await writeFile('capture.md', await shotsmith.take(options));
<?php
// composer require shotsmith/shotsmith-php
require 'vendor/autoload.php';
use Shotsmith\Client;
use Shotsmith\Options\TakeOptions;
$shotsmith = new Client('YOUR_ACCESS_KEY');
$options = TakeOptions::url('https://example.com')
->format('markdown')
->blockCookieBanners()
->blockAds();
file_put_contents('capture.md', $shotsmith->take($options));
// In Laravel: Shotsmith::take($options) with SHOTSMITH_ACCESS_KEY in .env
curl -G "https://shotsmith.dev/v1/take" \ --data-urlencode "access_key=YOUR_ACCESS_KEY" \ --data-urlencode "url=https://example.com" \ --data-urlencode "format=markdown" \ --data-urlencode "block_cookie_banners=true" \ --data-urlencode "block_ads=true" \ -o capture.md
import { writeFile } from 'node:fs/promises';
const params = new URLSearchParams({
access_key: 'YOUR_ACCESS_KEY',
url: 'https://example.com',
format: 'markdown',
block_cookie_banners: 'true',
block_ads: 'true',
});
const res = await fetch(`https://shotsmith.dev/v1/take?${params}`);
if (!res.ok) throw new Error((await res.json()).error_message);
await writeFile('capture.md', Buffer.from(await res.arrayBuffer()));
import urllib.request
from urllib.parse import urlencode
params = {
"access_key": "YOUR_ACCESS_KEY",
"url": "https://example.com",
"format": "markdown",
"block_cookie_banners": "true",
"block_ads": "true"
}
url = "https://shotsmith.dev/v1/take?" + urlencode(params, doseq=True)
# Raises urllib.error.HTTPError on a 4xx/5xx response
with urllib.request.urlopen(url, timeout=120) as res, open("capture.md", "wb") as f:
f.write(res.read())
<?php
$query = http_build_query([
'access_key' => 'YOUR_ACCESS_KEY',
'url' => 'https://example.com',
'format' => 'markdown',
'block_cookie_banners' => 'true',
'block_ads' => 'true',
], '', '&', PHP_QUERY_RFC3986);
$ch = curl_init('https://shotsmith.dev/v1/take?' . $query);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 120,
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status !== 200) {
throw new RuntimeException(json_decode($body, true)['error_message'] ?? "HTTP {$status}");
}
file_put_contents('capture.md', $body);
package main
import (
"io"
"net/http"
"os"
)
func main() {
res, err := http.Get("https://shotsmith.dev/v1/take?access_key=YOUR_ACCESS_KEY&url=https%3A%2F%2Fexample.com&format=markdown&block_cookie_banners=true&block_ads=true")
if err != nil {
panic(err)
}
defer res.Body.Close()
if res.StatusCode != http.StatusOK {
body, _ := io.ReadAll(res.Body)
panic(string(body))
}
out, err := os.Create("capture.md")
if err != nil {
panic(err)
}
defer out.Close()
io.Copy(out, res.Body)
}
require "net/http"
require "uri"
uri = URI("https://shotsmith.dev/v1/take")
uri.query = URI.encode_www_form([
["access_key", "YOUR_ACCESS_KEY"],
["url", "https://example.com"],
["format", "markdown"],
["block_cookie_banners", "true"],
["block_ads", "true"]
])
res = Net::HTTP.get_response(uri)
raise res.body unless res.is_a?(Net::HTTPSuccess)
File.binwrite("capture.md", res.body)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.nio.file.Path;
public class Capture {
public static void main(String[] args) throws Exception {
var client = HttpClient.newHttpClient();
var request = HttpRequest.newBuilder(URI.create(
"https://shotsmith.dev/v1/take?access_key=YOUR_ACCESS_KEY&url=https%3A%2F%2Fexample.com&format=markdown&block_cookie_banners=true&block_ads=true"
)).build();
var res = client.send(request, HttpResponse.BodyHandlers.ofFile(Path.of("capture.md")));
if (res.statusCode() != 200) {
throw new RuntimeException("HTTP " + res.statusCode());
}
}
}
using System;
using System.IO;
using System.Net.Http;
using var http = new HttpClient { Timeout = TimeSpan.FromSeconds(120) };
// Throws HttpRequestException on a 4xx/5xx response
var bytes = await http.GetByteArrayAsync(
"https://shotsmith.dev/v1/take?access_key=YOUR_ACCESS_KEY&url=https%3A%2F%2Fexample.com&format=markdown&block_cookie_banners=true&block_ads=true"
);
await File.WriteAllBytesAsync("capture.md", bytes);
Questions
Why Markdown for AI models?
Markdown keeps headings, lists, links and tables but drops the HTML, scripts and styling, so a model reads the content with far fewer tokens.
Does it work on JavaScript-heavy sites?
Yes. The page is loaded in real Chrome and converted after its scripts run, so single-page apps and client-rendered content come through.
Can my AI agent do this itself?
Yes. Our MCP server gives Claude, Cursor and other agents a get_page_content tool that returns Markdown like this. Add it with a free key.
Is it free?
Yes, 10 pages a day without an account. A free account gives you 100 a month through the API and MCP server.