Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 7월.
decodeURI() 함수는 encodeURI이나 비슷한 루틴으로 사전에 만들어진 URI(Uniform Resource Identifier, 인터넷식별자)를 디코딩합니다.
완전하고 인코딩된 인터넷식별자(URI)
주어진 인코딩된 URI를 디코딩한 새 문자열을 반환합니다.
encodedURI에 유효하지 않은 문자열이 포함된 경우 URIError ("malformed URI sequence") 예외가 발생합니다.
인코딩된 URI의 각 이스케이프 시퀀스(확장문자열)를 자신을 나타내는 문자로 바꾸지만 encodeURI에서 도입할 수 없었던 이스케이프 시퀀스는 해독하지 않습니다. #문자는 이스케이프 시퀀스에서 디코딩되지 않습니다.
| ECMAScript® 2027 Language Specification # sec-decodeuri-encodeduri |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 2월 11일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.