Copy link to clipboard
Copied
I have a .svg path which looks like this:
<path xmlns="http://www.w3.org/2000/svg" d="M.38425,1.81928H.443q.54715.00006,1.0943-.0006a.07731.07731,0,0,0,.05054-.01683c.17833-.18046.35478-.36278.53267-.54366.1149-.11683.23143-.232.3473-.3479L2.49729.88282a.09817.09817,0,0,1,.02037.01205c.27371.27378.55184.5434.81773.82458a.29719.29719,0,0,0,.24893.10611c.32444-.007.64914-.00166.97372-.00377.04734-.00031.05827.01418.058.05954-.00182.35512-.00132.71025-.001,1.06537a1.14022,1.14022,0,0,1-1.15713,1.169c-.36314.00246-.72631.00145-1.08946.00008-.30032-.00113-.60078-.00013-.9009-.00919a1.07792,1.07792,0,0,1-.77124-.35535,1.12076,1.12076,0,0,1-.31243-.80067q.0008-.53751.00033-1.075C.38425,1.85836.38425,1.84118.38425,1.81928ZM2.96231,3.6535a.28052.28052,0,0,0,.031.00515c.16066.00006.32151.005.48193-.00117a.68067.68067,0,0,0,.68253-.71413q.00018-.30364,0-.60729c0-.01685-.00167-.0337-.00255-.05018h-.525l.00178.02762a1.12918,1.12918,0,0,1-.33611,1.01016C3.18819,3.4314,3.07927,3.53793,2.96231,3.6535ZM2.03016,3.654c-.01548-.01771-.024-.02862-.03366-.03834Q1.84844,3.46711,1.7,3.31895a1.13448,1.13448,0,0,1-.345-.88338c.002-.051.01011-.1017.01574-.15592H.84593A.12008.12008,0,0,0,.84212,2.3c.00027.24106-.00658.48242.003.72312a.66806.66806,0,0,0,.58076.62031c.15284.01551.308.00794.46218.01043C1.93239,3.65456,1.97671,3.654,2.03016,3.654Zm.47128-1.30149a1.18593,1.18593,0,0,1,.41986-.39168l-.42245-.42721-.42193.42257A1.1975,1.1975,0,0,1,2.50144,2.35246Zm-.28655.83411a.75159.75159,0,0,0-.38589-.8369.65353.65353,0,0,0,.00366.32217A1.15733,1.15733,0,0,0,2.21489,3.18656Zm.57192.00414c.09168-.09672.18255-.1845.26313-.2809a.67868.67868,0,0,0,.12333-.56518c-.03266.01919-.06083.03364-.08681.05132A.771.771,0,0,0,2.78681,3.1907Z" stroke="none"></path>
Is it possible in some way to import it to Illustrator? With the intention to edit it.
Thanks
You have to create a valid SVG file.
Copy link to clipboard
Copied
Save it as a valid SVG file and open it - have you tried that?
Copy link to clipboard
Copied
Hey Monika.
I can't try it out right now. But will answer when I've tried
As I understand, I just have to save that precise code that I have posted in a text file with the .svg extension?
Copy link to clipboard
Copied
You have to create a valid SVG file.
Copy link to clipboard
Copied
Yes thank you.
The final code - to make it a valid .svg file is:
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="141.732px" height="113.386px" viewBox="0 0 141.732 113.386" enable-background="new 0 0 141.732 113.386"
xml:space="preserve">
<g id="SvgjsG1008" transform="matrix(23.627126301327113,0,0,23.627126301327113,216.9361168866504,-5.858499881985594)">
<path fill="#3FCFD4" d="M-8.298,1.967h0.059c0.365,0,0.73,0,1.094-0.001c0.018,0.001,0.036-0.005,0.051-0.017
c0.178-0.18,0.355-0.363,0.533-0.544c0.115-0.117,0.231-0.232,0.347-0.348l0.03-0.027c0.007,0.003,0.014,0.007,0.02,0.012
c0.274,0.274,0.552,0.543,0.818,0.825C-5.286,1.94-5.193,1.98-5.098,1.973c0.324-0.007,0.649-0.002,0.974-0.004
c0.047,0,0.058,0.014,0.058,0.06c-0.002,0.355-0.001,0.71-0.001,1.065c0.016,0.63-0.481,1.153-1.111,1.169
c-0.015,0-0.031,0-0.046,0c-0.363,0.002-0.726,0.001-1.089,0c-0.3-0.001-0.601,0-0.901-0.009c-0.295-0.008-0.574-0.136-0.771-0.355
c-0.206-0.215-0.319-0.503-0.312-0.801c0.001-0.358,0.001-0.717,0-1.075C-8.298,2.006-8.298,1.989-8.298,1.967z M-5.72,3.801
c0.01,0.002,0.021,0.004,0.031,0.005c0.161,0,0.322,0.005,0.482-0.001c0.376,0.001,0.682-0.302,0.683-0.678
c0-0.012,0-0.024-0.001-0.036c0-0.202,0-0.405,0-0.607c0-0.017-0.002-0.034-0.003-0.05h-0.525l0.002,0.028
c0.064,0.372-0.062,0.751-0.336,1.01C-5.494,3.579-5.603,3.685-5.72,3.801z M-6.652,3.801c-0.015-0.018-0.024-0.029-0.034-0.038
c-0.099-0.099-0.198-0.198-0.297-0.297c-0.238-0.23-0.365-0.553-0.345-0.883c0.002-0.051,0.01-0.102,0.016-0.156h-0.525
c-0.002,0.007-0.003,0.013-0.004,0.02c0,0.241-0.007,0.482,0.003,0.723c0.02,0.319,0.264,0.579,0.581,0.62
c0.153,0.015,0.308,0.008,0.462,0.01C-6.75,3.802-6.705,3.801-6.652,3.801z M-6.181,2.5c0.106-0.163,0.25-0.298,0.42-0.392
l-0.422-0.427l-0.422,0.423C-6.433,2.199-6.288,2.335-6.181,2.5L-6.181,2.5z M-6.467,3.334C-6.39,3-6.548,2.655-6.853,2.497
c-0.026,0.106-0.024,0.217,0.004,0.322C-6.773,3.023-6.641,3.202-6.467,3.334L-6.467,3.334z M-5.895,3.338
c0.092-0.097,0.183-0.184,0.263-0.281c0.123-0.161,0.169-0.368,0.123-0.565C-5.541,2.511-5.57,2.526-5.596,2.543
C-5.846,2.724-5.963,3.037-5.895,3.338L-5.895,3.338z"/>
</g>
</svg>