-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsplit.html
More file actions
195 lines (178 loc) · 8.29 KB
/
Copy pathsplit.html
File metadata and controls
195 lines (178 loc) · 8.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Split a PDF without uploading it — ClientPDF</title>
<meta name="description" content="Extract pages or split a PDF into separate files entirely in your browser. Nothing is uploaded, ever. Free, fast, private." />
<link rel="canonical" href="https://abyworkings-coder.github.io/clientpdf/split.html" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Split a PDF without uploading it — ClientPDF" />
<meta property="og:description" content="Extract pages or split a PDF into separate files entirely in your browser. Nothing is uploaded, ever." />
<meta property="og:url" content="https://abyworkings-coder.github.io/clientpdf/split.html" />
<meta property="og:site_name" content="ClientPDF" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Split a PDF without uploading it — ClientPDF" />
<meta name="twitter:description" content="Extract pages or split a PDF into separate files entirely in your browser." />
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🔒</text></svg>" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "ClientPDF Split",
"url": "https://abyworkings-coder.github.io/clientpdf/split.html",
"applicationCategory": "UtilitiesApplication",
"operatingSystem": "Any (runs in browser)",
"description": "Extract pages or split a PDF into separate files entirely in your browser. Nothing is uploaded, ever.",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
}
}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,500&family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="grain"></div>
<header class="topbar">
<div class="wrap topbar-inner">
<div class="brand">
<span class="brand-mark">◆</span>
<span class="brand-name">Client<em>PDF</em></span>
</div>
<nav class="toolnav" aria-label="Tools">
<a href="./index.html">Merge</a>
<a href="./split.html" aria-current="page">Split</a>
<a href="./delete-pages.html">Delete Pages</a>
<a href="./duplicate-pages.html">Duplicate Pages</a>
<a href="./insert-pages.html">Insert Blank Pages</a>
<a href="./rotate.html">Rotate</a>
<a href="./reorder.html">Reorder</a>
<a href="./compress.html">Compress</a>
<a href="./page-numbers.html">Page Numbers</a>
<a href="./images-to-pdf.html">Images to PDF</a>
<a href="./extract-images.html">Extract Images</a>
<a href="./watermark.html">Watermark</a>
<a href="./metadata.html">Metadata</a>
<a href="./crop.html">Crop Pages</a>
<a href="./resize.html">Resize Pages</a>
<a href="./grayscale.html">Grayscale PDF</a>
<a href="./border.html">Page Borders</a>
<a href="./image-watermark.html">Image Watermark</a>
<a href="./flatten.html">Flatten Form Fields</a>
<a href="./fill-form.html">Fill Form Fields</a>
<a href="./bookmarks.html">Add Bookmarks</a>
<a href="./split-by-bookmarks.html">Split by Bookmarks</a>
<a href="./pages-per-sheet.html">Pages per Sheet</a>
<a href="./guide.html">Guide</a>
</nav>
<div class="topbar-status">
<span class="dot" aria-hidden="true"></span>
<span>running locally in this tab — nothing uploaded</span>
</div>
</div>
</header>
<main class="wrap">
<section class="hero">
<h1>Open DevTools.<br />Split this PDF.<br />Watch nothing get sent anywhere.</h1>
<p class="lede">
Pull specific pages into a new file, or blow every page apart into its own
PDF — all inside this tab. Zero network requests after the page loads,
same rule as the merge tool. Check the Network tab yourself.
</p>
</section>
<section class="tool" id="tool">
<div class="dropzone" id="dropzone" tabindex="0" role="button" aria-label="Add a PDF file">
<input type="file" id="fileInput" accept="application/pdf" hidden />
<div class="dropzone-inner">
<span class="dropzone-icon">⇣</span>
<p><strong>Drop one PDF here</strong> or click to browse</p>
<p class="dropzone-hint">One file at a time · stays on this device</p>
</div>
</div>
<div class="split-panel" id="splitPanel" hidden>
<div class="split-meta" id="splitMeta"></div>
<div class="split-mode">
<label class="split-mode-option">
<input type="radio" name="splitMode" value="range" checked />
<span>Extract pages into one PDF</span>
</label>
<label class="split-mode-option">
<input type="radio" name="splitMode" value="every" />
<span>Split every page into its own PDF (.zip)</span>
</label>
</div>
<div class="split-range" id="rangeRow">
<label for="rangeInput">Pages</label>
<input type="text" id="rangeInput" placeholder="e.g. 1-3, 5, 8-10" />
</div>
</div>
<ol class="file-list" id="fileList" aria-label="Loaded file"></ol>
<div class="actions" id="actions" hidden>
<button class="btn btn-ghost" id="clearBtn" type="button">Clear</button>
<button class="btn btn-primary" id="splitBtn" type="button">
<span id="splitBtnLabel">Extract pages</span>
</button>
</div>
<div class="result" id="result" hidden></div>
</section>
<section class="proof">
<div class="proof-live" id="proofLive">
<span class="proof-live-dot" aria-hidden="true"></span>
<span id="proofLiveText">0 network requests since page load · verified live, not our word for it</span>
</div>
<div class="proof-grid">
<div class="proof-item">
<h3>No accounts</h3>
<p>No signup, no email, no watermark. Use it and close the tab.</p>
</div>
<div class="proof-item">
<h3>No limits (for now)</h3>
<p>Split as many pages as your device's memory allows. No artificial caps.</p>
</div>
</div>
</section>
<section class="pro" id="pro">
<div class="pro-card">
<div class="pro-copy">
<h2>Rotating, reordering, compressing, or numbering a PDF? All live too.</h2>
<p><a href="./rotate.html">Fix pages scanned sideways or upside down</a>, <a href="./reorder.html">drag pages into a new order</a>, <a href="./compress.html">shrink the file size</a>, or <a href="./page-numbers.html">stamp page numbers onto every page</a> — same rule: everything stays local. Leave your email and we'll let you know about a Pro batch mode.</p>
</div>
<form class="pro-form" id="proForm">
<input type="email" id="proEmail" placeholder="[email protected]" required aria-label="Email address" />
<button class="btn btn-primary" type="submit">Notify me</button>
</form>
<p class="pro-note" id="proNote" hidden>Thanks — saved locally for now, we'll be in touch once signups are live.</p>
</div>
</section>
<p class="article-meta">Splitting out a page with a fillable form field? <a href="./guide-split-reorder-form-fields.html">Here's why it may stop being fillable, and what to do about it.</a></p>
</main>
<footer class="footer">
<div class="wrap footer-inner">
<span>ClientPDF — built by <a href="https://github.com/abyworkings-coder" target="_blank" rel="noopener">Auto Company</a></span>
<span>No servers were harmed in the making of this tool.</span>
</div>
</footer>
<script>
(function () {
try {
var ref = document.referrer;
var bucket = "direct";
if (ref) {
bucket = /github\.com/i.test(ref) ? "github" : "other";
}
var base = "https://api.counterapi.dev/v1/clientpdf-abyworkings/";
fetch(base + "visits-total/up", { mode: "no-cors" });
fetch(base + "visits-" + bucket + "/up", { mode: "no-cors" });
} catch (e) {
// analytics must never break the tool
}
})();
</script>
<script type="module" src="split.js"></script>
</body>
</html>