在您的裝置上處理
返回工具
色彩 · 所有工具

SVG 轉資料 URI

SVG 轉資料 URI. 選擇本機 SVG 或貼上原始碼,執行後可預覽、縮放和下載。

檔案與輸入在此瀏覽器內處理,不需上傳或註冊帳號。

支援功能

輸入
SVG · TXT
輸出
SVG · TXT · CSS

如何使用SVG 轉資料 URI

SVG 轉資料 URI. 選擇本機 SVG 或貼上原始碼,執行後可預覽、縮放和下載。

  1. 選擇本機 SVG 或貼上原始碼,執行後可預覽、縮放和下載。
  2. 使用不含指令碼、外部資源、嵌入影像、濾鏡或動畫的靜態 SVG。
  3. 複製結果或下載到裝置。

SVG 轉資料 URI · 範例

輸入

<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200">
  <rect width="320" height="200" rx="24" fill="#eef1ff"/>
  <circle cx="100" cy="100" r="58" fill="#5265d8"/>
  <path d="M172 140 L222 54 L272 140 Z" fill="#e98367"/>
</svg>

輸出

data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22320%22%20height%3D%22200%22%20viewBox%3D%220%200%20320%20200%22%3E%0A%20%20%3Crect%20width%3D%22320%22%20height%3D%22200%22%20rx%3D%2224%22%20fill%3D%22%23eef1ff%22%2F%3E%0A%20%20%3Ccircle%20cx%3D%22100%22%20cy%3D%22100%22%20r%3D%2258%22%20fill%3D%22%235265d8%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M172%20140%20L222%2054%20L272%20140%20Z%22%20fill%3D%22%23e98367%22%2F%3E%0A%3C%2Fsvg%3E

使用說明

檔案與輸入在此瀏覽器內處理,不需上傳或註冊帳號。

支援有限的 SVG 子集:形狀、文字和漸層。不支援圖樣、遮罩和標記。

SVG 以影像預覽,原始碼不會插入應用程式文件。

使用不含指令碼、外部資源、嵌入影像、濾鏡或動畫的靜態 SVG。

Add or Subtract DaysMove a calendar date forward or backward.AES DecryptAuthenticate and decrypt a LocalKit AES-256-GCM JSON envelope with its password.AES EncryptEncrypt UTF-8 text with AES-256-GCM and a password-derived PBKDF2-SHA-256 key. Every run uses a fresh salt and nonce.Age CalculatorCalculate completed years, months and days between a birth date and a reference date.Anagram CheckerCompare letters and numbers after Unicode normalization, ignoring spacing and case.Angle ConverterConvert angle units with selectable source and target units and precise local results.Apache Config EditorEdit Apache Config source locally with syntax colors, line numbers, find and replace, undo, file import and download. Source is not executed.Archive Contents ViewerBrowse and search file paths inside ZIP, TAR and TGZ archives. Select files to download locally.

語言

程式碼範例、格式名稱與解析器技術錯誤可能保留原始表示法。