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 г..
Метод decodeURI() декодирует унифицированный идентификатор ресурса (URI), созданный при помощи метода encodeURI или другой подобной процедуры.
Полный закодированный унифицированный идентификатор ресурса.
Новая строка, представляющая собой незакодированную версию данного унифицированного идентификатора ресурса.
Throws an URIError ("malformed URI sequence") exception when encodedURI contains invalid character sequences.
Заменяет каждую управляющую последовательность в закодированном URI соответствующим символом. Не декодирует последовательности, которые невозможно сформировать с помощью encodeURI. Символ "#" декодированию не подвергается.
| ECMAScript® 2027 Language Specification # sec-decodeuri-encodeduri |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 17 февр. 2025 г. 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.