PDF を SVG に変換
各ページを SVG として書き出します。文字は本物の文字のまま残ります。
このツールはブラウザーの中だけで動きます。ファイルがアップロードされることはなく、そのことはブラウザーのネットワークタブでご自身で確認できます。 ご自分で確かめてください。ブラウザーのネットワークタブを開いて見てください。残りの作業回数を尋ねる小さなリクエストが1つだけ表示されます。ツール名とハッシュだけで、ファイルは決して含まれません。
このツールでできること
Modern PDF.js no longer has an SVG back end, and rebuilding a full PDF-to-SVG vector translator - shading patterns, clipping paths, type 3 fonts, every colour space - is not work that belongs in a browser tab. So this tool does not claim to be one. It offers the two things it genuinely can do: the page as an embedded picture with its real text positioned invisibly on top, or the text alone as true SVG text elements with none of the graphics. Neither is a vector trace of the artwork, and it is better to know that before you download forty files.
With raster on, it suits dropping a page into a web page or a design tool as one self-contained file that scales, stays sharp and can still be searched. Text only suits pulling the wording of a page into a design tool to restyle it, or building a caption layer over artwork you are drawing separately.
仕組み
- Drop the PDF onto this page. Files up to 150 MB are accepted.
- Choose the mode: with raster for something that looks like the page, text only for genuinely vector text and nothing else.
- Leave Keep the text selectable on so the words stay in the file rather than being flattened into the picture.
- In raster mode, set the resolution of the embedded picture. 150 dpi is the default and is sharp at normal viewing sizes.
- Choose one file per page or a single stacked file, then press Convert to SVG.
Text only is genuinely vector and genuinely incomplete. Every character becomes an SVG text element at its measured position, so you can restyle, recolour and re-space it in any design tool. Every rule, box, logo, photograph and background on that page is gone, because there is no path data to write. That is a fine trade when the words are what you are after, and a bad surprise when they are not.
The y axis is where converters of this kind usually go wrong. SVG counts down from the top of the canvas and PDF counts up from the bottom, so every text position has to be flipped as it crosses over. Get it wrong and the page comes out mirrored vertically, or - more insidiously - each line lands one line off, so copying a word gives you the line above it.
One file per page is the default because SVG has no concept of a page. When you ask for a single file, the pages are wrapped in one root element with each translated below the last, which is the only arrangement that opens sensibly both in a browser and in a design tool.
Rendering and text extraction both happen in your browser through PDF.js, so no page of the document is drawn on anyone else's machine. The only thing that crosses the network is the allowance check, which names the tool and carries a hash of the bytes.
このツールにできないこと
- This is not a full vector translation. With raster on, the graphics are an embedded picture rather than paths; with text only, they are absent. Neither mode gives you editable vector artwork of the whole page.
- Fonts are referenced by name rather than embedded, so a machine without the typeface substitutes another and line lengths shift.
よくある質問
- 拡大しても劣化しないベクターになりますか?
- 文字はなります。本物の SVG テキストとして書き出されるので、どんな大きさにも拡大できます。図版はなりません。ページのパス・グラデーション・クリッピング・パターンの変換は本格的なベクター翻訳で、このツールはそこまで行いません。そのため「ラスターあり」では図版は埋め込み画像になり、「テキストのみ」では含まれません。拡大できる図版が必要なら、元のベクターデータを使うのが唯一確実な方法です。
- どちらのモードを選べばよいですか?
- ページの見た目をそのまま残したいなら「ラスターあり」です。ページの画像を埋め込み、その上に本物の文字を見えない形で重ねるので、選択も検索もできます。文字を編集できるベクター要素として取り出したく、図版はすべて失われてよいなら「テキストのみ」です。
- デザインツールで編集できますか?
- 文字は Illustrator・Inkscape・Figma など SVG を読めるソフトなら、選択し、スタイルを変え、移動できます。埋め込まれたページ画像は、配置した画像と同じ扱いです。移動・拡大縮小・マスクはできますが、図形に分解することはできません。
- SVG が PDF より大きいのはなぜですか?
- 「ラスターあり」では、各ページが描画済みの画像をテキストとして符号化した形でファイルの中に抱えているためです。PDF は同じページを、コンパクトな描画命令として保存していました。小さくするには解像度を下げるか、「テキストのみ」を使ってください。文字と座標しか含まないため、数キロバイトのファイルになります。
- ファイルが端末の外に出ることはありますか?
- ありません。ページの描画も文字の抽出もブラウザ内の Web Worker で行われ、SVG もそこで組み立てられます。アップロードはなく、アカウントも不要です。ネットワークを切った状態で変換すれば確かめられます。