URL קידוד ופענוח
קודד URLs באחוזים לשימוש בטוח במחרוזות שאילתה, או פענח URLs מקודדים לטקסט רגיל.
Every character that carries special meaning in a URL — spaces, ampersands, equals signs, hash marks — must be percent-encoded before it can safely travel as part of a query string or path segment. Skip this step and browsers, servers, or intermediary proxies will misparse your URL, silently dropping parameters or returning 400 errors that are frustratingly hard to trace.
This tool is essential when building redirect links, constructing API query strings by hand, debugging OAuth callback URLs, or inspecting encoded parameters pasted from server logs. Paste a raw string to encode it for safe embedding, or paste a mangled URL from a log file and decode it back to readable form in one click.
איך לקודד ולפענח URL אונליין
- 1
הדבק URL או מחרוזת
הדבק URL רגיל או מחרוזת מקודדת באחוזים בלוח הקלט.
- 2
בחר קידוד או פענוח
עבור בין קידוד לפענוח. קידוד ממיר תווים לא בטוחים לרצפי %XX. פענוח הופך את התהליך.
- 3
העתק את התוצאה
העתק את הפלט המקודד או המפוענח. כל העיבוד רץ בדפדפן — ללא בקשות שרת.
How Percent-Encoding Works
RFC 3986 defines which characters are 'unreserved' in a URI — letters, digits, hyphens, underscores, tildes, and dots — and requires everything else to be encoded as a percent sign followed by two uppercase hex digits representing the byte value. A space becomes `%20`, an ampersand becomes `%26`, and a non-ASCII character like `é` is first UTF-8 encoded to two bytes (`0xC3 0xA9`) and then encoded as `%C3%A9`.
The older `application/x-www-form-urlencoded` scheme (used in HTML form posts) encodes spaces as `+` instead of `%20`, which is why decoding a `+` character requires context — in a query string value it is a space, but in a path segment it is a literal plus sign. This tool handles both conventions correctly.
למה להשתמש בכלי URL של FileCrank?
- ✓ תמיכה בקידוד RFC 3986 ובאמנת קידוד טפסים (+).
- ✓ מצב URL מלא שומר על scheme ו-slashes; מצב רכיב מקודד הכל.
- ✓ מטפל בתווים שאינם ASCII כולל Unicode ואמוג'י.
- ✓ פועל לחלוטין בדפדפן — שום נתון לא נשלח לשרת.
תכונות ומפרטים
שאלות נפוצות
מה ההבדל בין URL encoding ל-percent encoding?
זה אותו דבר. 'Percent encoding' הוא השם הרשמי מ-RFC 3986. 'URL encoding' הוא השם הלא-רשמי שמפתחים משתמשים בו. שניהם מתארים החלפת תווים לא בטוחים ב-% ואחריו שני ספרות הקסה.
מתי להשתמש ב-%20 לעומת + לרווחים?
השתמש ב-%20 בעת קידוד מקטע נתיב URL או ערך שאילתה לפי RFC 3986. השתמש ב-+ רק בנתוני טפסים application/x-www-form-urlencoded. רוב ה-APIs מצפים ל-%20.
האם הכלי הזה מקודד את כל ה-URL או רק רכיב?
כברירת מחדל הכלי מקודד כל תו שאינו בטוח ברכיב URL. אם מדביקים URL מלא עם scheme (https://), הנקודתיים וה-slashes נשמרים. השתמש במצב רכיב לקידוד כל תו שמור.
למה ה-URL המקודד שלי מכיל %2F במקום slash?
אתה מקודד מקטע נתיב מלא. slashes בתוך ערך חייבים להיות מקודדים כ-%2F. אם רוצים לשמור על slashes, השתמש במצב URL הסטנדרטי ולא במצב הרכיב.
URL Encoding vs. HTML Entity Encoding
URL encoding and HTML entity encoding solve different problems. Percent-encoding makes data safe for URI syntax, while HTML entities make characters safe for HTML markup. An ampersand in a URL query string needs `%26`; inside an HTML attribute it needs `&`. Using the wrong encoding in the wrong context is a common source of XSS vulnerabilities and broken links, so choosing the right tool for the right layer matters.
כלים קשורים
כלי URL Encode/Decode של FileCrank ממיר בין טקסט רגיל ומחרוזות URL מקודדות באחוזים לפי RFC 3986, ופועל לחלוטין בדפדפן שלך.
Advertisement