Guide contents

FormatBits provides a URL codec tool that lets users transform text so it can safely appear in a web address, or bring encoded text back into readable form. Beginners often face two immediate decisions before typing anything: whether to encode or decode, and whether the input represents a single value or an entire URL. Getting these choices right prevents reserved characters such as slashes, ampersands, and equals signs from being mishandled.
This guide focuses only on the tool behavior described in FormatBits’ source page. It covers operation choice, encoding scope, source text entry and limits, the result field, keyboard shortcuts, privacy behavior, and what happens at the 256 KiB cap. Items the source does not document—such as link sharing, export options, or supported character lists—are presented as things to verify rather than assumed features.
The workflow below is designed to build confidence step by step, starting with the operation type and ending with reading the result.
Choose the right URL codec operation
The URL codec supports two operation types: encoding text for an address, or bringing encoded text back into view. Users choose between Encode and Decode before entering source text, so the first step is to decide what the current task requires.
Choose Encode when you have readable text that needs to be converted into a form suitable for a URL. This is typical when preparing query parameters, form values, or path segments that may contain spaces, reserved punctuation, or characters outside the safe URL alphabet.
Choose Decode when you already have encoded text—often recognizable by percent sequences such as %20 or %3F—and want to restore it to human-readable form.
Because the operation is selected before input, changing your mind midway means reselecting the operation and re-entering or adjusting the source text. If you are unsure which direction fits your text, inspect whether the text already contains percent-encoded sequences. If it does, Decode is likely the appropriate operation; if it is plain readable text intended for a URL, Encode is likely appropriate.
Before proceeding, confirm on the FormatBits page whether the Encode and Decode labels appear as buttons, toggles, or a dropdown, since the source does not document the exact control type.
Reader checkpoint
Ask yourself: does my text need to become URL-safe, or does it need to be turned back into readable text? Your answer determines the operation.
Pick the encoding scope
After choosing Encode or Decode, the next decision is the encoding scope: treat the input as One value, or as A whole URL. This choice changes how reserved characters are handled.
When input is treated as A whole URL, the tool keeps separators such as ?, & and = intact. This scope is appropriate when the entire address—including scheme, host, path, query string, and fragment—is being processed as a single URL structure.
When input is treated as One value, the tool encodes reserved characters including /, ?, & and =. This scope is appropriate when you are encoding a single query value or form field rather than an entire address, because those reserved characters would otherwise be interpreted as URL syntax rather than literal data.
The plus-sign option interacts with this decision. Users can choose whether plus signs represent spaces, which is described as relevant for form values. If you are encoding a single form value and want spaces to appear as + rather than %20, enable this option. If you are processing a whole URL, consider whether converting spaces to plus signs matches the expectations of the receiving system.
Because the source does not list every reserved character or specify exactly which characters remain untouched in each scope, treat the listed examples—/, ?, &, and =—as the only confirmed behaviors. For any character not mentioned, check the FormatBits page or test with a small sample before relying on the result.
Comparison at a glance
| Scope | What happens to separators | Typical use case |
|---|---|---|
| A whole URL | Keeps ?, & and = | Entire address |
| One value | Encodes reserved characters including /, ?, & and = | Single query value or form field |
Reader checkpoint
Does your input represent a single query value or an entire URL address? Choose One value for the former and A whole URL for the latter.
Enter source text and run the check
Source input is editable and supports Unicode, with a maximum size of 256 KiB. Before entering text, make sure the Encode or Decode operation and the One value or A whole URL scope are already selected, along with your preference for whether plus signs represent spaces.
Type or paste your source text into the input field. Because input is editable, you can revise it before running the check. There is no documented requirement to clear the field between uses, but because the tool performs one operation per check, only the current input is processed when you trigger the check.
To run the check, press Ctrl plus Enter on Windows or Linux, or Command plus Enter on macOS. The source does not document whether clicking a button also runs the check, so if the keyboard shortcut does not produce a result, look for an explicit run or check control on the page.
After input is added and the check runs, the result field displays the encoded or decoded output. The result field starts at 0 bytes until input is added, so an empty input should not be expected to produce output. If the result field remains empty after running the check, verify that input was present and that the correct operation and scope were selected.
Reader checklist
- Select Encode or Decode.
- Select One value or A whole URL.
- Decide whether plus signs represent spaces.
- Enter or paste source text within the 256 KiB cap.
- Press Ctrl or Command plus Enter to run the check.
- Read the result field.
Reader checkpoint
Did you enter text before running the check, and did you use the keyboard shortcut matching your operating system?
Understand privacy and limits
The source documents browser-only behavior for the URL codec, meaning processing occurs in the browser rather than being sent to a remote server for transformation. It does not state whether data remains in local memory only, whether it is cleared after the check, or whether any telemetry is collected. If privacy is a concern for your input, verify these details directly on the FormatBits page before pasting sensitive text.
The input size cap is 256 KiB. If your source text exceeds this limit, the source does not document whether the tool truncates input, rejects it, shows an error, or processes only a portion. Treat texts approaching or exceeding 256 KiB as unsupported until you confirm behavior on the page. For very large inputs, consider splitting the content into smaller checks if the tool permits repeated use.
The tool performs one operation per check. This means you cannot queue multiple encoding or decoding tasks in a single run. To process additional text, you must run another check, potentially after adjusting the operation, scope, or input.
Several capabilities are not documented in the source and should not be assumed: link sharing, export or download of results, batch processing, undo behavior, history retention, or a list of supported characters. If you need any of these, check the FormatBits page or contact FormatBits through its official support channel rather than relying on this guide.
Limits summary
| Item | Documented behavior |
|---|---|
| Operation count | One operation per check |
| Input maximum | 256 KiB |
| Input type | Editable, Unicode-supported |
| Processing model | Browser-only |
| Result field initial state | 0 bytes until input is added |
| Keyboard shortcut | Ctrl or Command plus Enter |
Reader checkpoint
If your source text exceeds 256 KiB, what should you do? Verify behavior on the FormatBits page or split the content into smaller checks; do not assume truncation or rejection behavior.