PDF إلى SVG
اكتب كل صفحة بصيغة SVG مع إبقاء النص نصًا حقيقيًا.
تعمل هذه الأداة داخل متصفحك بالكامل. لا يُرفع ملفك أبدًا، ويمكنك التحقق من ذلك في تبويب الشبكة بمتصفحك. تحقّق بنفسك: افتح تبويب الشبكة في متصفحك وراقب. سترى طلبًا صغيرًا واحدًا يسأل إن كان لديك مهام متبقية — اسم أداة وبصمة تجزئة، وليس الملف أبدًا.
ماذا تفعل هذه الأداة
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 هناك. لا يُرفع شيء، ولا يوجد حساب، ويمكنك التحقق بالتحويل والشبكة مفصولة.