Linux Path Converter
Normalize a Linux path - resolve . and .. segments, collapse repeated slashes, and expand ~ to a home directory notation.
Paste a Linux path below - this tool normalizes it (collapsing redundant slashes and resolving . / .. segments) and explains its structure.
A truly relative path (like `../config`) can only be resolved to an absolute one if you know the current working directory - this tool explains that relationship rather than guessing at an unknown starting point.
What Does Path Normalization Mean?
Normalizing a path means simplifying it without changing what it points to - collapsing // into a single /, resolving a segment like ./ (current directory, removable), and resolving .. (parent directory) against the segment before it where possible.
Why Use This Tool?
Paths built by scripts or config templates sometimes end up with redundant segments (/var/www//app/../app/public) that are hard to read at a glance. Normalizing makes the actual, effective path clear.
How to Use It
- Paste a Linux-style path.
- This tool collapses repeated slashes and resolves
./..segments where it can. - Review the normalized path and the explanation of what changed.
Limitations
A path starting with .. or without a leading / is relative - this tool shows how it normalizes relative to itself, but it cannot know your actual current working directory, so it does not claim to resolve a relative path to one true absolute path.