Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

173
Views
Is there any way to convert svg url to <svg> tag in javascript?

I’ve been looking for the solution to convert or extract the svg from a url link svg file to html as original from the link.

e.g.

https://server/soccerball.svg (image url from server that has svg components inside with its paths etc.)

I would like to get the element from inside the link following with its paths and attributes on every elements from the link above in JavaScript. It can be in a form of actual element/string it wont matter.

For example from the link above converted to:

<svg attr…>…

Thanks in advance!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!